-
- Downloads
[FIX] account_facturx: fix discount amount calculation
The discount inside a facturx document has recently changed to include the amount instead of the percent. In the process, there is an issue when using tax_included where the discount would be computed not based on the amount without tax but on the amount taxed. This change will align the discount computation on what will be used in 15.0+ closes odoo/odoo#89656 X-original-commit: 95f4794e Signed-off-by:Laurent Smet <las@odoo.com>
Showing
- addons/account_edi_facturx/data/facturx_templates.xml 1 addition, 1 deletionaddons/account_edi_facturx/data/facturx_templates.xml
- addons/account_edi_facturx/models/account_edi_format.py 5 additions, 0 deletionsaddons/account_edi_facturx/models/account_edi_format.py
- addons/account_edi_facturx/tests/test_facturx.py 1 addition, 1 deletionaddons/account_edi_facturx/tests/test_facturx.py
Loading
Please register or sign in to comment