summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--addons/account/account_invoice.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/addons/account/account_invoice.py b/addons/account/account_invoice.py
index 580e033e8f3..fcf37c7ca74 100644
--- a/addons/account/account_invoice.py
+++ b/addons/account/account_invoice.py
@@ -741,6 +741,8 @@ class account_invoice(models.Model):
line['currency_id'] = currency.id
line['amount_currency'] = currency.round(line['price'])
line['price'] = currency.compute(line['price'], company_currency)
+ if line.get('tax_amount'):
+ line['tax_amount'] = currency.compute(line['tax_amount'], company_currency)
else:
line['currency_id'] = False
line['amount_currency'] = False