[FIX] l10n_in: missing .id on uom.uom
Introduced in https://github.com/odoo/odoo/commit/18a823e379ba023c176299c4034b3b28d09c2336
This commit is contained in:
@@ -57,7 +57,7 @@ class AccountMove(models.Model):
|
||||
res = super()._get_tax_grouping_key_from_tax_line(tax_line)
|
||||
if tax_line.move_id.journal_id.company_id.account_fiscal_country_id.code == 'IN':
|
||||
res['product_id'] = tax_line.product_id.id
|
||||
res['product_uom_id'] = tax_line.product_uom_id
|
||||
res['product_uom_id'] = tax_line.product_uom_id.id
|
||||
res['quantity'] = tax_line.quantity
|
||||
return res
|
||||
|
||||
@@ -67,7 +67,7 @@ class AccountMove(models.Model):
|
||||
res = super()._get_tax_grouping_key_from_base_line(base_line, tax_vals)
|
||||
if base_line.move_id.journal_id.company_id.account_fiscal_country_id.code == 'IN':
|
||||
res['product_id'] = base_line.product_id.id
|
||||
res['product_uom_id'] = base_line.product_uom_id
|
||||
res['product_uom_id'] = base_line.product_uom_id.id
|
||||
res['quantity'] = base_line.quantity
|
||||
res['id'] = base_line.id
|
||||
return res
|
||||
@@ -78,7 +78,7 @@ class AccountMove(models.Model):
|
||||
|
||||
tax_key += [
|
||||
line.product_id.id,
|
||||
line.product_uom_id,
|
||||
line.product_uom_id.id,
|
||||
line.quantity,
|
||||
line.id,
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user