ingadhoc/odoo-argentina#981

Created by pablohmontenegro

Blocked

label
adhoc-dev:17.0-h-84092-pam
head
512ef531354595c2601ca18db469de3c77bfd324
target
17.0

[FIX] l10n_ar_account_withholding: compute withholdings method not used correctly

compute_withholdings method on account_payment is used to set need_withholding_recompute field to False but this is not correct because need_withholding_recompute is a computed field https://github.com/ingadhoc/odoo-argentina/blob/17.0/l10n_ar_account_withholding/models/account_payment.py#L36 . This problem makes an incorrect calculation of to_pay_amount field --> to_pay_amount + witholdings_amount.
Ticket: 84092