We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a9b27fc + 794b57e commit e67d4d3Copy full SHA for e67d4d3
l10n_it_withholding_tax/models/account.py
@@ -301,7 +301,7 @@ def _compute_amount_withholding_tax(self):
301
302
for line in reconciled_amls:
303
if not line.withholding_tax_generated_by_move_id:
304
- amount_net_pay_residual -= line.debit or line.credit
+ amount_net_pay_residual -= abs(line.amount_currency)
305
invoice.amount_net_pay_residual = float_round(
306
amount_net_pay_residual, dp_obj.precision_get("Account")
307
)
0 commit comments