ingadhoc/odoo-argentina#1186

Created by Camila Vives

Blocked

label
adhoc-dev:18.0-h-98310-cav
head
4003d02931c9c29a16cedfacc5c814e37733aa7a
ingadhoc/odoo-argentina ingadhoc/account-payment
18.0 #1186 missing r+ #762 missing r+
19.0

[FIX] l10n_ar_tax: fix payment_total computation with withholding

Ensure that the withholding amounts are always added as positive values in the payment total calculation by updating the logic in AccountPayment._compute_payment_total. This fixes the use case where a customer payment is in send and the withholding amounts were negative.