Skip to content

Commit

Permalink
[IMP] l10n_ar_account_withholding: get_partner_alicuot method (accoun…
Browse files Browse the repository at this point in the history
…t.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

closes #940

Related: ingadhoc/odoo-argentina-ee#445
Signed-off-by: Katherine Zaoral <[email protected]>
  • Loading branch information
pablohmontenegro committed Oct 29, 2024
1 parent e4175b1 commit 3174349
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion l10n_ar_account_withholding/models/account_tax.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3174349

Please sign in to comment.