From 008634730adb0e834e759d5f356b8978e083395a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucas=20Lef=C3=A8vre?= Date: Tue, 25 Jun 2019 09:25:18 +0000 Subject: [PATCH] [IMP] hr_holidays: Clean leave stat button 1/ Change stat button landing page ---------------------------------- Currently when clicking on the leave stat button of an employee, the landing page is the leave dashbord of the current user. It's more usefull for HR people to land on the reporting view of the employee. 2/ Remove stat button from public employee ------------------------------------------ It's useless for regular employees to know how many remaining leave others have. Hence the stat button is removed from the public employee form view. --- addons/hr_holidays/views/hr_views.xml | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/addons/hr_holidays/views/hr_views.xml b/addons/hr_holidays/views/hr_views.xml index 91601a2ce89..c7da3c7eea1 100644 --- a/addons/hr_holidays/views/hr_views.xml +++ b/addons/hr_holidays/views/hr_views.xml @@ -155,7 +155,7 @@ - -