d3e4fce07c6e703b0bca4fb75dc4b4b1507eab55
The total ordered quantities on a delivery slip with order lines of the same product was wrong + this PR https://github.com/odoo/odoo/pull/83591 was incorrect, the undelivered products should be displayed once Steps to reproduce: 1. Install the Sales and Inventory app 2. Create and confirm a sale order with two order lines, both with the same product 3. Go to the delivery and confirm it with all demands met 4. Print the delivery slip 5. The ordered quantity of the product is wrong, it should be equal to the delivered quantity Solution: Use all empty moves in package-less products `qty_ordered` = `qty_done` when in a package (the potential remaining quantities will be displayed in the package-less products or in the backorder section) or when there is no backorder (as the undelivered products will either be added to the package-less products section or the ordered quantity will be incremented later) If we are not in a package and there is a backorder, adapt the ordered quantity to remove the quantity of the packages considered before Convert `qty_done` to the UoM of the stock move opw-2722203 opw-2758840 opw-2782572 closes odoo/odoo#87072 X-original-commit: 332ec796ac77c8383a04a924508013c735f67d1e Signed-off-by: William Henrotin (whe) <whe@odoo.com> Signed-off-by: Guillaume Merlin (megu) <megu@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%