From b707a5fd0b558b579428d35ce69f20f710a4d04f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucas=20Lef=C3=A8vre?= Date: Tue, 10 Sep 2019 14:21:11 +0000 Subject: [PATCH] [FIX] hr: Open department employees with searchpanel From the department kanban view, when clicking on the "Employees" button of a department, it shows all employee regardless of their department. This is a consequence of the back2basics commit 9a0fedf which removed the department filter and added a search panel instead. This commit changes the search default filter to a default filter for the searchpanel. closes odoo/odoo#36635 Signed-off-by: VincentSchippefilt --- addons/hr/views/hr_employee_views.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/hr/views/hr_employee_views.xml b/addons/hr/views/hr_employee_views.xml index 7518cf88aa6..0a37dbe2a23 100644 --- a/addons/hr/views/hr_employee_views.xml +++ b/addons/hr/views/hr_employee_views.xml @@ -341,7 +341,7 @@ kanban,form,tree { - "search_default_department_id": [active_id], + "searchpanel_default_department_id": active_id, "default_department_id": active_id}