[FIX] account: missing decorator
This commit is contained in:
committed by
Nicolas Martinelli
parent
c41f7297d3
commit
ea42f6c176
@@ -1411,6 +1411,7 @@ class AccountInvoiceTax(models.Model):
|
||||
base = fields.Monetary(string='Base', compute='_compute_base_amount')
|
||||
|
||||
# DO NOT FORWARD-PORT!!! ONLY FOR v10
|
||||
@api.model
|
||||
def create(self, vals):
|
||||
inv_tax = super(AccountInvoiceTax, self).create(vals)
|
||||
# Workaround to make sure the tax amount is rounded to the currency precision since the ORM
|
||||
|
||||
Reference in New Issue
Block a user