diff --git a/line.xml b/line.xml index 4530afb4e0..c03227721b 100644 --- a/line.xml +++ b/line.xml @@ -35,7 +35,8 @@ this repository contains the full copyright notices and license terms. --> Timesheet Lines timesheet.line - [('work', 'in', Eval('active_ids'))] + @@ -61,7 +62,9 @@ this repository contains the full copyright notices and license terms. --> - [('employee', '=', user.employee.id if user.employee else None)] + @@ -121,7 +124,9 @@ this repository contains the full copyright notices and license terms. --> - [('employee', '=', user.employee.id if user.employee else None)] + diff --git a/work.xml b/work.xml index e3570470cd..0ba7859470 100644 --- a/work.xml +++ b/work.xml @@ -25,7 +25,7 @@ this repository contains the full copyright notices and license terms. --> Works timesheet.work - [('parent', '=', None)] + @@ -71,7 +71,7 @@ this repository contains the full copyright notices and license terms. --> Works timesheet.work - [('parent', '=', None)] + @@ -88,7 +88,9 @@ this repository contains the full copyright notices and license terms. --> Hours per Work timesheet.work - [('parent', '=', Get(Eval('timesheet.act_work_tree2', {}), 'id', None))] + @@ -129,7 +131,8 @@ this repository contains the full copyright notices and license terms. --> Hours per Work timesheet.work - [('parent', 'in', Eval('active_ids'))] + @@ -169,7 +172,9 @@ this repository contains the full copyright notices and license terms. --> - [('company', '=', user.company.id if user.company else None)] +