Skip to content

Commit e67d4d3

Browse files
committed
Merge PR #4581 into 16.0
Signed-off-by eLBati
2 parents a9b27fc + 794b57e commit e67d4d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

l10n_it_withholding_tax/models/account.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ def _compute_amount_withholding_tax(self):
301301

302302
for line in reconciled_amls:
303303
if not line.withholding_tax_generated_by_move_id:
304-
amount_net_pay_residual -= line.debit or line.credit
304+
amount_net_pay_residual -= abs(line.amount_currency)
305305
invoice.amount_net_pay_residual = float_round(
306306
amount_net_pay_residual, dp_obj.precision_get("Account")
307307
)

0 commit comments

Comments
 (0)