3005e7ac5ed8befa3b634c52460df50c209e9d5c
Steps to reproduce: - Create a subcontracted BoM for a product - Create a planned reception for this product, with a demand of 10, mark it as todo. - Click on the moves details and in the 'Subcontract' wizard, set the quantity to 5 and click 'Continue'. - Now set the quantity to 2 and click 'Record Production'. - Close the wizard without recording the last quantity. - Validate the picking (there should be only 7 out of 10 quantity done), and don't generate backorders. - When checking the related Subcontracted MO (Inventory Overview -> Filters -> Archived -> Subcontracting), all 3 MO related to this reception were cancelled. Issue: When checking for the still active_productions, it wasn't taking into account that there could be multiple still-active productions (like when a production is recorded in multiple times like here). This messes up with the 'in' condition, cancelling productions that shouldn't be. Task-3383596 Part-of: odoo/odoo#142513
…
…
…
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%