6fac0b024177ba360b2473170dd880d108ac0492
Usecase to reproduce: - Create a product A with a qty on hand 5.5 - Create a delivery order with an initial demand of 5.5 - Validate it with a qty equals to 5.95 The initial demand is updated to 5.951 then reduced to 5.95 and a backorder is created with an initial demand of 0.001. That should not happen since I process extra quantities. It python 5.95 - 5.5 = 0.4500000000000002 and the float_compare use a round UP method thus it returns 0.451 and the following flow is based on a wrong value. In this case a float compare is used before the float round, so an HALF-UP rounding should be okay since a very small quantity diff should be filter by the compare. Fixes #24401
…
…
…
…
…
…
…
…
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%