diff --git a/addons/account/account_invoice.py b/addons/account/account_invoice.py index 0fb0ab5a9f1..a9b181e2555 100644 --- a/addons/account/account_invoice.py +++ b/addons/account/account_invoice.py @@ -1533,7 +1533,7 @@ class account_invoice_tax(models.Model): currency = self.env['res.currency'].browse(currency_id) currency = currency.with_context(date=date_invoice or fields.Date.context_today(self)) amount = currency.compute(amount, company.currency_id, round=False) - tax_sign = self.env['account.tax'].search([('name', '=', self.name), ('company_id', '=', self.company_id.id)]).tax_sign + tax_sign = self.tax_amount/self.amount return {'value': {'tax_amount': amount * tax_sign}} @api.v8