Multicompany mrp fix

by
Odoo
v 8.0 Third Party 6
Download for v 8.0
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies MRP (mrp)
Social Network (mail)
Warehouse Management (stock)
Technical Name multicompany_mrp_fix
LicenseAGPL-3
Websitehttps://www.trey.es
You bought this module and need support? Click here!

Multicompany mrp fix

This module fixs errors in multi-company manufacturing environments:

ERROR:
When confirming a sales order with a manufactured product, the "_bom_find" function does not find the "company_id" key in the context and mistakenly selects a list of materials from another company. The same happens when the "run_schudeled" scheduler is executed.
SOLUTION:
Inherit the "_action_explode" and "_bom_find" functions to add in the context the "company_id" key with the company value of the current user to select the list of materials from those of the current company. In the case of the cron call, the value stored in context ['current_company_id'] is used.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.