cfeffc3c7427c6fd4e545936b77c6f25d8b08119
## Summary Currently, when using both an early payment discount (upon invoice) and price-included taxes, the invoice totals are not calculated correctly. ## Steps to Reproduce 1. Set `Cash Discount Tax Reduction` to `Always (upon invoice)`. 2. Create an invoice with the payment term set to `2/7 Net 30`. 3. Add an invoice line with a price of 100 and a 21% price-included tax. 4. Save the invoice: The `Untaxed Amount` should be 100, but it incorrectly shows 100.35 instead. ## Cause When calculating the totals, the price-included tax is applied to one of the early payment discount lines. Since the tax is price-included, the system recalculates a new base price for the EPD line, which ultimately leads to an incorrect `Untaxed Amount`. opw-3239904 Enterprise PR: odoo/enterprise#39007 closes odoo/odoo#119892 X-original-commit: 43b78a96a8961b83cf1c18f58bd549dabc90c50f Related: odoo/enterprise#40404 Signed-off-by: Nshimiyimana Serge Séna (sesn) <sesn@odoo.com> Signed-off-by: Brice Bartoletti (bib) <bib@odoo.com> Co-authored-by: Laurent Smet <las@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%