dd501bbe3739b3f18d830363ad5582e21fdedca8
Usecase to reproduce: - Create a BoM for a product with route Manufacture - Use replenish wizard in order to fill your stock It traceback due to an infinite loop. It happens because when the production order creates the raw moves, it does not set a product template. However a default_product template is in the context and is used as default value. So it creates a raw move with the component as product.product and the production product as template. Since they are related it will modify the product_tmpl_id of the product.product. It result by having a component with the finished product as template and it will use the same stock rules and bom again and again. This commit clean the context before running procurement rules. opw-1890661
…
…
…
…
…
…
…
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%