diff --git a/addons/account/models/account_invoice.py b/addons/account/models/account_invoice.py index 7939d463a3c..5531a188202 100644 --- a/addons/account/models/account_invoice.py +++ b/addons/account/models/account_invoice.py @@ -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