Files
odoo_source/addons
Antoine Dupuis (andu) 25cfb97f7e [FIX] l10n_it_edi: Generate correct XML for negative invoice lines
When creating an invoice with a positive line and a negative line, with
different taxes, the DatiRiepilogo node for the tax of the negative
line contained positive amounts when they should be negative.

This is because we were applying `abs()` too naively in the XML template
and in the code of _l10n_it_edi_prepare_fatturapa_tax_details.

This bugfix commit changes the logic to no longer use abs().

opw-3316300

closes odoo/odoo#122982

X-original-commit: 0241e96fe12401f0891efc00f840e03d0c0219fd
Signed-off-by: Quentin De Paoli <qdp@odoo.com>
Signed-off-by: Antoine Dupuis (andu) <andu@odoo.com>
2023-05-30 23:51:41 +02:00
..
2023-05-22 17:52:07 +02:00
2023-05-22 17:52:07 +02:00
2023-05-11 18:25:38 +02:00
2023-05-10 19:16:47 +02:00
2023-05-10 18:16:24 +02:00
2023-05-10 18:16:21 +02:00
2023-05-10 20:15:02 +02:00
2023-05-10 20:14:59 +02:00
2023-05-11 18:24:53 +02:00
2023-05-10 20:15:12 +02:00
2023-05-11 10:40:53 +02:00
2023-05-11 10:40:55 +02:00
2023-05-10 18:16:19 +02:00
2023-05-17 16:48:30 +02:00
2023-05-12 09:21:49 +02:00
2023-05-10 20:15:20 +02:00
2023-05-25 16:29:11 +02:00
2023-05-23 18:01:49 +02:00
2023-05-22 17:52:07 +02:00