|
@ -5,6 +5,29 @@ |
|
|
--> |
|
|
--> |
|
|
<openerp> |
|
|
<openerp> |
|
|
<data> |
|
|
<data> |
|
|
|
|
|
<record model="ir.ui.view" id="daynumber_view_tree"> |
|
|
|
|
|
<field name="name">Day Number List</field> |
|
|
|
|
|
<field name="model">beesdoo.shift.daynumber</field> |
|
|
|
|
|
<field name="arch" type="xml"> |
|
|
|
|
|
<tree editable="top"> |
|
|
|
|
|
<field name="name" /> |
|
|
|
|
|
<field name="number" /> |
|
|
|
|
|
<field name="active" /> |
|
|
|
|
|
</tree> |
|
|
|
|
|
</field> |
|
|
|
|
|
</record> |
|
|
|
|
|
|
|
|
|
|
|
<record model="ir.ui.view" id="type_view_tree"> |
|
|
|
|
|
<field name="name">Shift Type List</field> |
|
|
|
|
|
<field name="model">beesdoo.shift.type</field> |
|
|
|
|
|
<field name="arch" type="xml"> |
|
|
|
|
|
<tree> |
|
|
|
|
|
<field name="name" /> |
|
|
|
|
|
<field name="description" /> |
|
|
|
|
|
<field name="active" /> |
|
|
|
|
|
</tree> |
|
|
|
|
|
</field> |
|
|
|
|
|
</record> |
|
|
|
|
|
|
|
|
<record model="ir.ui.view" id="shift_settings_view_form"> |
|
|
<record model="ir.ui.view" id="shift_settings_view_form"> |
|
|
<field name="name">Shifts Configuration Form</field> |
|
|
<field name="name">Shifts Configuration Form</field> |
|
@ -23,6 +46,31 @@ |
|
|
</field> |
|
|
</field> |
|
|
</record> |
|
|
</record> |
|
|
|
|
|
|
|
|
|
|
|
<menuitem name="Configuration" |
|
|
|
|
|
id="menu_configuration_top" |
|
|
|
|
|
parent="menu_root" |
|
|
|
|
|
groups="beesdoo_shift.group_planning_management" |
|
|
|
|
|
sequence="21" |
|
|
|
|
|
/> |
|
|
|
|
|
|
|
|
|
|
|
<record model="ir.actions.act_window" id="action_day_number"> |
|
|
|
|
|
<field name="name">Day Number</field> |
|
|
|
|
|
<field name="res_model">beesdoo.shift.daynumber</field> |
|
|
|
|
|
<field name="view_mode">tree</field> |
|
|
|
|
|
</record> |
|
|
|
|
|
|
|
|
|
|
|
<menuitem name="Shift Day" id="menu_configuration_day" |
|
|
|
|
|
parent="menu_configuration_top" action="action_day_number" /> |
|
|
|
|
|
|
|
|
|
|
|
<record model="ir.actions.act_window" id="action_type"> |
|
|
|
|
|
<field name="name">Shift Type</field> |
|
|
|
|
|
<field name="res_model">beesdoo.shift.type</field> |
|
|
|
|
|
<field name="view_mode">tree,form</field> |
|
|
|
|
|
</record> |
|
|
|
|
|
|
|
|
|
|
|
<menuitem name="Shift Type" id="menu_configuration_type" |
|
|
|
|
|
parent="menu_configuration_top" action="action_type" /> |
|
|
|
|
|
|
|
|
<record model="ir.actions.act_window" id="action_shift_settings"> |
|
|
<record model="ir.actions.act_window" id="action_shift_settings"> |
|
|
<field name="name">Settings</field> |
|
|
<field name="name">Settings</field> |
|
|
<field name="res_model">beesdoo.shift.config.settings</field> |
|
|
<field name="res_model">beesdoo.shift.config.settings</field> |
|
@ -36,5 +84,6 @@ |
|
|
action="action_shift_settings" |
|
|
action="action_shift_settings" |
|
|
groups="beesdoo_shift.group_cooperative_admin" |
|
|
groups="beesdoo_shift.group_cooperative_admin" |
|
|
/> |
|
|
/> |
|
|
|
|
|
|
|
|
</data> |
|
|
</data> |
|
|
</openerp> |
|
|
</openerp> |