From 5d05600fa13e1c439e350923e6b23553d813ce3b Mon Sep 17 00:00:00 2001 From: sergiocorato Date: Fri, 2 Feb 2024 11:27:45 +0100 Subject: [PATCH] [FIX] l10n_it_intrastat_statement: sequence lines Recompute sequence lines after possible removal of lines for adjustments. --- l10n_it_intrastat_statement/models/intrastat_statement.py | 1 + 1 file changed, 1 insertion(+) diff --git a/l10n_it_intrastat_statement/models/intrastat_statement.py b/l10n_it_intrastat_statement/models/intrastat_statement.py index 38005e62e51b..0b79643217df 100644 --- a/l10n_it_intrastat_statement/models/intrastat_statement.py +++ b/l10n_it_intrastat_statement/models/intrastat_statement.py @@ -820,6 +820,7 @@ def compute_statement(self): ) to_refund_model = self.env[refund_section_model] self.refund_line(line, to_refund_model) + self.recompute_sequence_lines() return True @staticmethod