Sunday, July 7, 2024
1 change · master
Miscellaneous changes
[FIX] l10n_es_edi_facutrae: fix TotalGrossAmount and new fields - The tag TotalGrossAmount should be the sum of the GrossAmount tag which is calculated as (price - discount + charge). Currently, the TotalGrossAmount is calculated as the sum of the price before subtracting the discount and adding the charge. - Add new fields to the XML. - Remove fields for total general discounts and charges as they were computed incorrectly. task-4001821 Forward-Port-Of: odoo/odoo#171435 For
Original PR description
[FIX] l10n_es_edi_facutrae: fix TotalGrossAmount and new fields - The tag TotalGrossAmount should be the sum of the GrossAmount tag which is calculated as (price - discount + charge). Currently, the TotalGrossAmount is calculated as the sum of the price before subtracting the discount and adding the charge. - Add new fields to the XML. - Remove fields for total general discounts and charges as they were computed incorrectly. task-4001821 Forward-Port-Of: odoo/odoo#171435 Forward-Port-Of: odoo/odoo#170176