From 48fff097335b4a120c1cf5ae229e4e7a28dbb45e Mon Sep 17 00:00:00 2001 From: Lorenzo Allegrucci Date: Wed, 16 Nov 2022 11:12:52 +0100 Subject: [PATCH] [FIX][l10n_it_fatturapa_in] Fix amount_total_signed sign --- l10n_it_fatturapa_in/models/account.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/l10n_it_fatturapa_in/models/account.py b/l10n_it_fatturapa_in/models/account.py index 4c3f2e578628..35131adf694e 100644 --- a/l10n_it_fatturapa_in/models/account.py +++ b/l10n_it_fatturapa_in/models/account.py @@ -59,7 +59,7 @@ def _compute_amount(self): for inv in self: if inv.efatt_rounding != 0: inv.amount_total += inv.efatt_rounding - sign = inv.move_type in ["in_refund", "out_refund"] and -1 or 1 + sign = inv.move_type in ["in_refund", "out_refund"] and 1 or -1 inv.amount_total_signed = inv.amount_total * sign def action_post(self):