Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] l10n_ar_account_withholding: compute withholdings method not used correctly #981

Open
wants to merge 1 commit into
base: 17.0
Choose a base branch
from

Conversation

pablohmontenegro
Copy link
Contributor

@pablohmontenegro pablohmontenegro commented Dec 9, 2024

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

…ed 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
@roboadhoc
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants