Skip to content

Commit

Permalink
Merge PR #2427 into 14.0
Browse files Browse the repository at this point in the history
Signed-off-by OpenCode
  • Loading branch information
OCA-git-bot committed Sep 29, 2021
2 parents 0ea989b + d0444cf commit e47c64b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion l10n_it_vat_registries/models/vat_registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def _get_move_total(self, move):
if receivable_payable_found:
total = abs(total)
else:
total = abs(move.amount)
total = abs(move.amount_total)
if "refund" in move.move_type:
total = -total
return total
Expand Down

0 comments on commit e47c64b

Please sign in to comment.