diff --git a/line.xml b/line.xml index 8cd92c788f..e05e287f4b 100644 --- a/line.xml +++ b/line.xml @@ -65,9 +65,7 @@ this repository contains the full copyright notices and license terms. --> - - = - User/Current Employee + [('employee', '=', user.employee.id if user.employee else None)] @@ -156,9 +154,7 @@ this repository contains the full copyright notices and license terms. --> - - = - User/Current Employee + [('employee', '=', user.employee.id if user.employee else None)] diff --git a/work.xml b/work.xml index 90625e4113..93a6fab09e 100644 --- a/work.xml +++ b/work.xml @@ -243,10 +243,7 @@ this repository contains the full copyright notices and license terms. --> - - = - User/Current Company + [('company', '=', user.company.id if user.company else None)]