diff --git a/account.xml b/account.xml
index 1664a5df78..1c4951a841 100644
--- a/account.xml
+++ b/account.xml
@@ -800,9 +800,7 @@ this repository contains the full copyright notices and license terms. -->
-
- in
- User/Current Companies
+ [('company', 'in', [c.id for c in user.companies])]
diff --git a/fiscalyear.xml b/fiscalyear.xml
index e5bf1018ec..30a0d9663b 100644
--- a/fiscalyear.xml
+++ b/fiscalyear.xml
@@ -101,9 +101,7 @@ this repository contains the full copyright notices and license terms. -->
-
- =
- User/Current Company
+ [('company', '=', user.company.id if user.company else None)]
diff --git a/period.xml b/period.xml
index d65b1c53dc..9a81f44b0f 100644
--- a/period.xml
+++ b/period.xml
@@ -124,9 +124,7 @@ this repository contains the full copyright notices and license terms. -->
-
- =
- User/Current Company
+ [('company', '=', user.company.id if user.company else None)]
diff --git a/tax.xml b/tax.xml
index 6899664ade..6e0e086a2d 100644
--- a/tax.xml
+++ b/tax.xml
@@ -291,9 +291,7 @@ this repository contains the full copyright notices and license terms. -->
-
- =
- User/Current Company
+ [('company', '=', user.company.id if user.company else None)]
@@ -560,9 +558,7 @@ this repository contains the full copyright notices and license terms. -->
-
- =
- User/Current Company
+ [('company', '=', user.company.id if user.company else None)]
@@ -767,9 +763,7 @@ this repository contains the full copyright notices and license terms. -->
-
- =
- User/Current Company
+ [('company', '=', user.company.id if user.company else None)]