From 7e7ea0aa82aa7a86c4ea3744225f050c01968d05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Mon, 6 Aug 2018 10:55:13 +0200 Subject: [PATCH] [IMP] hr_holidays: limit configuration menu to hr officers Purpose: an employee shouldn't see the leave type menu in configuration (access right) This commit is linked to task ID 1871812 and PR #26180. --- addons/hr_holidays/views/hr_leave_type_views.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/hr_holidays/views/hr_leave_type_views.xml b/addons/hr_holidays/views/hr_leave_type_views.xml index a5cdfca4674..ea0c213dfb2 100644 --- a/addons/hr_holidays/views/hr_leave_type_views.xml +++ b/addons/hr_holidays/views/hr_leave_type_views.xml @@ -143,6 +143,7 @@ action="open_view_holiday_status" name="Leave Types" parent="menu_hr_holidays_configuration" + groups="hr_holidays.group_hr_holidays_user" sequence="1"/>