e26e11e59a9b7ce038e689afdd0c8dbbfe542a20
Steps to reproduce (Manufacturing app): - Configuration -> Settings -> Activate `Work Orders` and `By-products`. - Products -> Bill of Materials - Create 2 BoM for a single product (e.g. Product A), both with operations and a byproduct each (e.g. BP A & BP B). - Operations -> Manufacturing Orders. - Create a MO for Product A and save it. - Mo was created using the first BoM and has its operations & byproducts set in their respective tabs. - Update the MO from first to second BoM. Adding another byproduct, deleting it or updating it before saving won't persist after save (it will revert to what's defined in the BoM) This is due to `move_finished_ids` holding the values defined in the BoM in the call to `write()` while `move_byproduct_ids` holds the correct (current) values. But since `move_byproduct_ids` is only a subset of `move_finished_ids`, it's not used in the write operation. Task-3277166 closes odoo/odoo#127143 X-original-commit: 0fb2cd02622c1670ee91df48ff22a320da1b02a0 Signed-off-by: Arnold Moyaux (arm) <arm@odoo.com> Signed-off-by: Quentin Wolfs (quwo) <quwo@odoo.com>
…
…
…
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, ...
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.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%