ebac669b2e1f2b71ce8b3ad9b277193c5e0db69f
- Create Tax 0: Percentage Amount: 0 Tax Included Tax Group 0 - Create Tax 8: Percentage Amount: 8 Tax Included Tax Group 8 - Create a customer invoice with one line Quantity: 8.0 Price Unit: 15.55 Taxes: Tax 8, Tax 0 (order is important) The tax amounts are: Tax 8: 9.22 Tax 0: -0.01 If the taxes are inverted, the tax amounts Tax 8: 9.21 Tax 0: 0.00 The difference is due to the rounding of the 8% tax done differently. In the second case, the computation of the 8% tax goes through: https://github.com/odoo/odoo/blob/8c5cd335a57c20ed5faa6b7c7630c296c1f2a5cf/addons/account/models/account.py#L1480 In the first case, the amount is recomputed in: https://github.com/odoo/odoo/blob/8c5cd335a57c20ed5faa6b7c7630c296c1f2a5cf/addons/account/models/account.py#L1483 The rounding is different in both cases, leading to an inconsistency. When the tax amount is zero, there is no need to save the amount in `total_included_checkpoints`. opw-2306676 closes odoo/odoo#55812 X-original-commit: e2776e188070221ef465a864bd2cb8dcfc971e14 Signed-off-by: Jorge Pinna Puissant (jpp) <jpp@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%