Skip to content

Commit

Permalink
Merge PR #3857 into 14.0
Browse files Browse the repository at this point in the history
Signed-off-by primes2h
  • Loading branch information
OCA-git-bot committed Jan 17, 2024
2 parents e2ce90a + d01253d commit 4f8c41f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions l10n_it_intrastat/models/account.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ def action_post(self):
for invoice in self:
if not invoice.intrastat_line_ids and invoice.intrastat:
invoice.compute_intrastat_lines()
super().action_post()
res = super().action_post()
precision_digits = self.env["decimal.precision"].precision_get("Account")
for invoice in self:
if invoice.intrastat:
Expand All @@ -336,7 +336,7 @@ def action_post(self):
raise UserError(
_("Intrastat total must be equal to invoice untaxed total")
)
return True
return res

def compute_intrastat_lines(self):
for inv in self:
Expand Down

0 comments on commit 4f8c41f

Please sign in to comment.