diff --git a/addons/account/account_invoice.py b/addons/account/account_invoice.py index cb7fb9a8cfe..48e6844e67c 100644 --- a/addons/account/account_invoice.py +++ b/addons/account/account_invoice.py @@ -810,7 +810,7 @@ class account_invoice(models.Model): # create the analytical lines, one move line per invoice line iml = inv._get_analytic_lines() # check if taxes are all computed - compute_taxes = account_invoice_tax.compute(inv) + compute_taxes = account_invoice_tax.compute(inv.with_context(lang=inv.partner_id.lang)) inv.check_tax_lines(compute_taxes) # I disabled the check_total feature