Skip to content

Commit

Permalink
[FIX] l10n_br_fiscal: fix amount_total when has tax withholding
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelsavegnago committed Apr 16, 2024
1 parent d34a615 commit 903225b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions l10n_br_fiscal/models/document_fiscal_line_mixin_methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,9 @@ def _compute_amounts(self):
# Valor Liquido (TOTAL + IMPOSTOS - RETENÇÕES)
record.amount_taxed = record.amount_total - record.amount_tax_withholding

# Valor do documento (NF) - RETENÇÕES
record.amount_total = record.amount_taxed

# Valor financeiro
if (
record.fiscal_operation_line_id
Expand Down

0 comments on commit 903225b

Please sign in to comment.