diff --git a/views/hr_timesheet.xml b/views/hr_timesheet.xml index bc232a178fe51d63ab70aed735306064e6ca0ebf..80e09bfbe4db1355664b8eac6bab856d2253534a 100644 --- a/views/hr_timesheet.xml +++ b/views/hr_timesheet.xml @@ -245,6 +245,11 @@ if records: Menus --> + <!-- affichage du menu employé uniquement pour le groupe Fonctionnaire --> + <record model="ir.ui.menu" id="hr.menu_hr_root"> + <field name="groups_id" eval="[(6,0,[ref('hr.group_hr_user')])]"/> + </record> + <!-- ajoute des droits sur le menu Configuration --> <record model="ir.ui.menu" id="hr_timesheet.hr_timesheet_menu_configuration"> <field name="groups_id" eval="[(6,0, [ref('hr_timesheet.group_timesheet_manager'), ref('cgscop_partner.group_cg_administrator'), ref('cgscop_partner.group_ur_list_modif')])]"/> @@ -263,6 +268,7 @@ if records: + </data> <data noupdate="1"> <delete id="hr_timesheet.timesheet_menu_report_timesheet_by_task" model="ir.ui.menu"/>