From 235c51cb84695487ec44d658cf3981428f5ccc1b 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 X-original-commit: 3174349aeeaf2170a2ba606a0759ac5c157102b1 --- 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 dd137dc62..4acba11e7 100644 --- a/l10n_ar_account_withholding/models/account_tax.py +++ b/l10n_ar_account_withholding/models/account_tax.py @@ -139,7 +139,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