From b6dace13a5f7a8584dbc3be5073cc5c8ae0aa034 Mon Sep 17 00:00:00 2001 From: Pablo Montenegro Date: Tue, 29 Oct 2024 14:26:02 -0300 Subject: [PATCH] [IMP] l10n_ar_account_withholding: get_partner_alicuot method (account.tax) Task: 38394 In new module l10n_ar_account_tax_settlement_mendoza is extended the method get_partner_alicuot (account.tax) and it is needed to add line=None argument to that method --- l10n_ar_account_withholding/models/account_tax.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/l10n_ar_account_withholding/models/account_tax.py b/l10n_ar_account_withholding/models/account_tax.py index 79d33deb5..81ca734be 100644 --- a/l10n_ar_account_withholding/models/account_tax.py +++ b/l10n_ar_account_withholding/models/account_tax.py @@ -148,7 +148,7 @@ def get_partner_alicuota_percepcion(self, partner, date): return arba.alicuota_percepcion / 100.0 return 0.0 - def get_partner_alicuot(self, partner, date): + def get_partner_alicuot(self, partner, date, line=None): self.ensure_one() commercial_partner = partner.commercial_partner_id company = self.company_id