2d5ab66dec9ae8b7d6cbd49d4ae958a8b64d7dd5
Follow-up of https://github.com/odoo/odoo/pull/64942 Explanation: When computing the total quantity, summing negative and positive values can sometimes lead to zero even if the scoped quantity is not zero. E.g.: Warehouse 1 has 10 items and Warehouse 2 has -10 items. Scoping on Warehouse 1 results in 10 items but the total quantity is 0. This commit also takes into account float precision. Inspired by: https://github.com/odoo/odoo/blob/d9b409247303c6b165a7df381169f2480a19900f/addons/stock_account/models/stock_quant.py#L36-L38 closes odoo/odoo#65661 X-original-commit: 3547b15cb362f73c60354070da5e49ffa674e432 Signed-off-by: backspac <backspac@users.noreply.github.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%