1fac19951747078fe92e2e35c61df2372fd90eda
Usecase to reproduce: - BoM with final product tracked by SN - Produce wizard add a component tracked by SN (not from BoM) - Produce and mark the MO as done The tracability report do not show the extra component used. It happens because _record_production call _action_done on moves raw and finished. _action_done create extra move with moves that created more than expected (the purpose is to trigger rules). However in stock the new move is created then merged in its parent but in mrp moves are not merge. _record production set the tracability for initial moves but ignore the extra moves created. So the tracability report is not complete. Fix it by catching the new moves created after _action_done and set the consume_line_ids for the extra moves also.
…
…
…
…
…
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, Purchase Management, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
Then follow the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%