f9867a5fa572a15fb89c49c61e569427d6388cbc
Currently on stock moves, product_uom_qty indicates the demand qty before the move is done and it indicates the acutual done qty when the move is done. As a result, when validate a stock move with qty_done != product_uom_qty, a new move is always created for the difference. And the product_uom_qty of the original move will be changed to match qty_done. In this commit, we change to that product_uom_qty will always indicate the demand qty, and qty_done will always indicate actually done quantity. To do that, when underconsumption, we won't split the move when no backorder. and when overconsumption, we will always merge the extra move back to the original move. Task-2695732 Part-of: odoo/odoo#130342
…
…
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%