Skip to content

Commit

Permalink
Merge PR OCA#2765 into 14.0
Browse files Browse the repository at this point in the history
Signed-off-by tafaRU
  • Loading branch information
OCA-git-bot committed Apr 21, 2022
2 parents a7c3105 + 8bf158e commit b579e29
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions l10n_it_fatturapa_in/models/account.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,12 @@ def e_inv_dati_ritenuta(self):
"found. Please manually check Withholding tax Amount\n"
)
if (
sum(self.ftpa_withholding_ids.mapped("amount"))
!= self.withholding_tax_amount
float_compare(
sum(self.ftpa_withholding_ids.mapped("amount")),
self.withholding_tax_amount,
precision_rounding=self.currency_id.rounding,
)
!= 0
):
error_message += _(
"E-bill contains ImportoRitenuta %s but created invoice has got"
Expand Down

0 comments on commit b579e29

Please sign in to comment.