diff options
| author | Ravi Gohil <rgo@odoo.com> | 2019-05-24 05:01:29 +0000 |
|---|---|---|
| committer | Ravi Gohil <rgo@odoo.com> | 2019-05-24 05:05:13 +0000 |
| commit | d18b5b829a97d4346bdeb24310924ba8571e4f1e (patch) | |
| tree | 059d35279cebe20b2c1247e7462bd3146041cf40 /addons/l10n_in/models | |
| parent | 8f7b6d0d6b09cee94d32a5e3736e03af5df3817c (diff) | |
[FIX] l10n_in: fix method parameter
'tax_ids' param was removed in main method by 8f7b6d0d6b09cee94d32a5e3736e03af5df3817c, hence removed it from it's overridden method
closes odoo/odoo#33639
Signed-off-by: oco-odoo <oco-odoo@users.noreply.github.com>
Diffstat (limited to 'addons/l10n_in/models')
| -rw-r--r-- | addons/l10n_in/models/account_invoice.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/l10n_in/models/account_invoice.py b/addons/l10n_in/models/account_invoice.py index 6ef37d2c584..5b59933d0e9 100644 --- a/addons/l10n_in/models/account_invoice.py +++ b/addons/l10n_in/models/account_invoice.py @@ -70,8 +70,8 @@ class AccountInvoice(models.Model): vals['quantity'] = invoice_tax_line.l10n_in_quantity return res - def _prepare_tax_line_vals(self, line, tax, tax_ids): - vals = super(AccountInvoice, self)._prepare_tax_line_vals(line, tax, tax_ids) + def _prepare_tax_line_vals(self, line, tax): + vals = super(AccountInvoice, self)._prepare_tax_line_vals(line, tax) vals['l10n_in_product_id'] = line.product_id.id vals['l10n_in_uom_id'] = line.uom_id.id vals['l10n_in_quantity'] = line.quantity |
