diff --git a/tax.xml b/tax.xml
index 85538edb25..e749d7d291 100644
--- a/tax.xml
+++ b/tax.xml
@@ -481,7 +481,7 @@ this repository contains the full copyright notices and license terms. -->
Taxes
account.tax
form
- [('company', '=', locals().get('company', False)), ('parent', '=', False)]
+ [('company', '=', Eval('company')), ('parent', '=', False)]
@@ -500,7 +500,7 @@ this repository contains the full copyright notices and license terms. -->
Taxes
account.tax
form
- [('company', '=', locals().get('company', False)), ('parent', '=', False)]
+ [('company', '=', Eval('company')), ('parent', '=', False)]
@@ -520,7 +520,7 @@ this repository contains the full copyright notices and license terms. -->
Taxes
account.tax
tree
- [('company', '=', locals().get('company', False)), ('parent', '=', False)]
+ [('company', '=', Eval('company')), ('parent', '=', False)]
@@ -719,7 +719,7 @@ this repository contains the full copyright notices and license terms. -->
Tax Rules
account.tax.rule
form
- [('company', '=', locals().get('company', False))]
+ [('company', '=', Eval('company'))]
@@ -738,7 +738,7 @@ this repository contains the full copyright notices and license terms. -->
Tax Rules
account.tax.rule
form
- [('company', '=', locals().get('company', False))]
+ [('company', '=', Eval('company'))]