Browse Source

[REM] b_shift : Shift Attendance view

pull/125/head
Elouan Le Bars 5 years ago
parent
commit
ceed6139e3
  1. 16
      beesdoo_shift/views/task.xml

16
beesdoo_shift/views/task.xml

@ -204,25 +204,11 @@
'search_default_gb_type':1}</field> 'search_default_gb_type':1}</field>
</record> </record>
<record model="ir.actions.act_window" id="action_task_attendance">
<field name="name">Shift Attendance</field>
<field name="res_model">beesdoo.shift.shift</field>
<field name="view_mode">kanban,tree,form</field>
<field name="context">{
'search_default_assigned': 1,
'search_default_today': 1,
'search_default_gb_status':1}</field>
</record>
<!-- Top menu item --> <!-- Top menu item -->
<menuitem name="Planning" id="menu_task_top" parent="menu_root" <menuitem name="Planning" id="menu_task_top" parent="menu_root"
sequence="1" groups="beesdoo_shift.group_shift_attendance" /> sequence="1" groups="beesdoo_shift.group_shift_attendance" />
<!-- actions --> <!-- actions -->
<menuitem name="Shift" id="menu_task" parent="menu_task_top" <menuitem name="Shift" id="menu_task" parent="menu_task_top"
action="action_task" groups="beesdoo_shift.group_shift_management" /> action="action_task" groups="beesdoo_shift.group_shift_management" />
<menuitem name="Shift Attendance" id="menu_task_attendance"
parent="menu_task_top" action="action_task_attendance" />
</odoo> </odoo>
Loading…
Cancel
Save