diff --git a/beesdoo_shift/views/cooperative_status.xml b/beesdoo_shift/views/cooperative_status.xml index c8a99e2..8919c7c 100644 --- a/beesdoo_shift/views/cooperative_status.xml +++ b/beesdoo_shift/views/cooperative_status.xml @@ -192,5 +192,3 @@ - - diff --git a/beesdoo_shift/views/task.xml b/beesdoo_shift/views/task.xml index dd5fa45..74f3c25 100644 --- a/beesdoo_shift/views/task.xml +++ b/beesdoo_shift/views/task.xml @@ -28,9 +28,11 @@ + domain="[('super_coop_id', '=', uid)]" + name="team_shift"/> + domain="[('worker_id.user_ids', 'in', uid)]" + name="shift" /> @@ -53,7 +55,8 @@ domain="[('end_time','>', context_today().strftime('%%Y-%%m-%%d 00:00:00')), ('start_time','<', context_today().strftime('%%Y-%%m-%%d 23:59:59'))]" /> + context="{'group_by' : 'task_template_id'}" + name="shift_template" /> - - - + + +