d4f82ff1facfe95d43c6b36a36953ccd244ba511
The vendor delay report only works with basic use cases. Here are the issues: - For each SM, we sum up the done qty of all SMLs without considering the UoMs - When grouping several lines (for instance, by partner and product), we sum up the quantities of each line but their UoM can be different - When grouping several lines, we sum the `qty_total` which are the quantity of the related POL. This is an issue: suppose a POL with a quantity Q and suppose there are two SM (backorder), if we group by product, we will have a total quantity of 2Q, which is incorrect (and so will be the delivery rate) To reproduce the issues: See the tests added by this commit. Note: the last test (`test_vendor_delay_report_without_backorder`) was not failing before this commit. It is added to simply improve the tests OPW-3065065 closes odoo/odoo#109471 X-original-commit: c2e351534b9627b6844effba9943b09d4b0b93f3 Signed-off-by: Arnold Moyaux (arm) <arm@odoo.com> Signed-off-by: Adrien Widart <awt@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%