diff --git a/addons/account/models/account.py b/addons/account/models/account.py
index 7bf41e6ed3f..7c88e088c14 100644
--- a/addons/account/models/account.py
+++ b/addons/account/models/account.py
@@ -638,7 +638,10 @@ class AccountTax(models.Model):
continue
tax_amount = tax._compute_amount(base, price_unit, quantity, product, partner)
- tax_amount = currency.round(tax_amount)
+ if company_id.tax_calculation_rounding_method == 'round_globally':
+ tax_amount = round(tax_amount, prec)
+ else:
+ tax_amount = currency.round(tax_amount)
if tax_amount:
if tax.price_include:
diff --git a/addons/account/views/company_view.xml b/addons/account/views/company_view.xml
index 06e1648b4a3..fe6bebbd2fa 100644
--- a/addons/account/views/company_view.xml
+++ b/addons/account/views/company_view.xml
@@ -13,6 +13,7 @@
+