diff --git a/tax.xml b/tax.xml
index e749d7d291..d5100cbed3 100644
--- a/tax.xml
+++ b/tax.xml
@@ -244,7 +244,7 @@ this repository contains the full copyright notices and license terms. -->
Tax Codes
account.tax.code
tree
- [('company', '=', locals().get('company', False)), ('parent', '=', False)]
+ [('company', '=', Eval('company')), ('parent', '=', False)]