Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
•
MRP (mrp)
• Social Network (mail) • Warehouse Management (stock) |
Technical Name |
multicompany_mrp_fix |
License | AGPL-3 |
Website | https://www.trey.es |
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