From e4ac144ace3f51730a8e98e01ecfcd8839207f63 Mon Sep 17 00:00:00 2001 From: Rob Coekaerts Date: Wed, 1 Dec 2021 14:16:41 +0000 Subject: [PATCH] [IMP] hr_holidays: 'My Department' filter now includes child departments. The "My department" filter in the "Time Off" overview menu is changed to also include the leaves of employees from child departments (all the way to the bottom of the hierarchy). task-2699541 closes odoo/odoo#81597 Signed-off-by: Kevin Baptiste --- addons/hr/data/hr_demo.xml | 14 ++++++++++++-- .../report/hr_leave_report_calendar.xml | 4 +++- addons/hr_holidays/views/hr_leave_views.xml | 4 +++- 3 files changed, 18 insertions(+), 4 deletions(-) diff --git a/addons/hr/data/hr_demo.xml b/addons/hr/data/hr_demo.xml index 726bd211926..b99f51b4ce1 100644 --- a/addons/hr/data/hr_demo.xml +++ b/addons/hr/data/hr_demo.xml @@ -12,6 +12,16 @@ Research & Development + + R&D Belgium + + + + + Long Term Projects + + + Professional Services @@ -189,7 +199,7 @@ If you have development competencies, we can propose you specific traineeships Anita Oliver - + Experienced Developer @@ -333,7 +343,7 @@ If you have development competencies, we can propose you specific traineeships Paul Williams - + Experienced Developer diff --git a/addons/hr_holidays/report/hr_leave_report_calendar.xml b/addons/hr_holidays/report/hr_leave_report_calendar.xml index 7f4eaaf12d1..f7ebb78eb3d 100644 --- a/addons/hr_holidays/report/hr_leave_report_calendar.xml +++ b/addons/hr_holidays/report/hr_leave_report_calendar.xml @@ -37,7 +37,9 @@ - + diff --git a/addons/hr_holidays/views/hr_leave_views.xml b/addons/hr_holidays/views/hr_leave_views.xml index 7ae0e9431a1..58583985261 100644 --- a/addons/hr_holidays/views/hr_leave_views.xml +++ b/addons/hr_holidays/views/hr_leave_views.xml @@ -51,7 +51,9 @@ - +