-
- 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#89650
Signed-off-by:
Laurent Smet <las@odoo.com>
Showing
- addons/account_facturx/data/facturx_templates.xml 1 addition, 1 deletionaddons/account_facturx/data/facturx_templates.xml
- addons/account_facturx/models/account_move.py 5 additions, 0 deletionsaddons/account_facturx/models/account_move.py
- addons/account_facturx/tests/test_facturx.py 1 addition, 1 deletionaddons/account_facturx/tests/test_facturx.py
Loading
Please register or sign in to comment