|
@ -28,6 +28,7 @@ |
|
|
<field name="super_coop_id" /> |
|
|
<field name="super_coop_id" /> |
|
|
<field name="worker_id" /> |
|
|
<field name="worker_id" /> |
|
|
<filter string="My Team Shift" |
|
|
<filter string="My Team Shift" |
|
|
|
|
|
name="my_team_shift" |
|
|
domain="[('super_coop_id', '=', uid)]" /> |
|
|
domain="[('super_coop_id', '=', uid)]" /> |
|
|
<filter string="My Shift" |
|
|
<filter string="My Shift" |
|
|
domain="[('worker_id.user_ids', 'in', uid)]" /> |
|
|
domain="[('worker_id.user_ids', 'in', uid)]" /> |
|
@ -53,6 +54,7 @@ |
|
|
domain="[('end_time','>', context_today().strftime('%Y-%m-%d 00:00:00')), ('start_time','<', context_today().strftime('%Y-%m-%d 23:59:59'))]" /> |
|
|
domain="[('end_time','>', context_today().strftime('%Y-%m-%d 00:00:00')), ('start_time','<', context_today().strftime('%Y-%m-%d 23:59:59'))]" /> |
|
|
<group expand="1" string="Group By"> |
|
|
<group expand="1" string="Group By"> |
|
|
<filter string="Shift Template" |
|
|
<filter string="Shift Template" |
|
|
|
|
|
name="template" |
|
|
context="{'group_by' : 'task_template_id'}" /> |
|
|
context="{'group_by' : 'task_template_id'}" /> |
|
|
<filter string="Type" name="gb_type" |
|
|
<filter string="Type" name="gb_type" |
|
|
context="{'group_by' : 'task_type_id'}" /> |
|
|
context="{'group_by' : 'task_type_id'}" /> |
|
|