40487aca5cc52d62ad3fd08b9494f190e4413d8c
usecase to reproduce: - Set the warehouse with manufacturing 3 steps - Create a BoM with a Components that use a Sub BoM - Set Both product MTO + Manufacture - Create a MO You have only 2 picking for the first MO with the SFP that contains both the finished product and the intermediate component. However they are created and moved at two different times since you could not create the finished product withtout the component, so there is no meaning to put them both in the same picking. It happens because the _assign_picking will merge moves with the same procurement group. In our case, it's the wanted behavior to have the 2 differents SFP linked to the same MO. So the solution would be to add a condition to _assign_picking and don't merge moves if they come from different MO, at this point the field created_production_id would fit. However this solution is not robust if a customer creates a new rule that add a 4th steps to the production process. opw-2055688 closes odoo/odoo#35915 Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com> Co-authored-by: Andrea Grazioso (agr-odoo) <agr@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, 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%