Skip to content
Snippets Groups Projects
Commit 80cc25cf authored by Nicolas (vin)'s avatar Nicolas (vin)
Browse files

[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: default avatarLaurent Smet <las@odoo.com>
parent 69ba48ea
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment