Browse Source

[WIP] b_shift : give access to backend to attendance sheets generic group

pull/125/head
Elouan Le Bars 5 years ago
parent
commit
ede1de4688
  1. 2
      beesdoo_shift/data/cron.xml
  2. 14
      beesdoo_shift/security/group.xml

2
beesdoo_shift/data/cron.xml

@ -1,5 +1,5 @@
<odoo>
<data noupdate="1">
<data noupdate="0">
<record id="ir_cron_update_today" model="ir.cron">
<field name="name">Update Cooperatoor status base on the date</field>
<field name="interval_number">24</field>

14
beesdoo_shift/security/group.xml

@ -1,11 +1,11 @@
<odoo>
<data noupdate="1">
<data noupdate="0">
<record id="group_shift_attendance_sheet" model="res.groups">
<field name="name">Attendance Sheet Access</field>
<field name="name">Attendance Sheet Generic Access</field>
<field name="category_id" ref="base.module_category_cooperative_management"/>
</record>
<record id="group_shift_attendance" model="res.groups">
<field name="name">Shift Attendance</field>
<field name="name">Shift and Worker Access</field>
<field name="category_id" ref="base.module_category_cooperative_management"/>
</record>
<record id="group_shift_management" model="res.groups">
@ -26,5 +26,13 @@
/>
<field name="users" eval="[(4, ref('base.user_root'))]"/>
</record>
<record model="ir.ui.menu" id="base.menu_board_root">
<field name="groups_id" eval="[(6,0,[ref('group_shift_attendance_sheet')])]"/>
</record>
<!-- <template id="website.user_navbar">
<field name="groups" eval="[(6,0,[ref('group_shift_attendance_sheet')])]"/>
</template> -->
</data>
</odoo>
Loading…
Cancel
Save