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
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions l10n_ar_account_withholding/models/account_payment.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,6 @@ def _compute_need_withholding_recompute(self):
], limit=1):
rec.need_withholding_recompute = True

def compute_withholdings(self):
super()._compute_withholdings()
self.need_withholding_recompute = False

# estaria bueno re-incorporarlo pero para hacerlo:
# a) tenemos que ver que cuando creamos pago desde factura ya viaje la retencion de ganancias o convertirlas en campos calculados con pre compute?
# el tema es que no termina computando regimen de ganancias porque en "regimen = payment.regimen_ganancias_id" llega vacio
Expand Down