From b0ce9ce8caab3e9a0d79c7432a6174e734356986 Mon Sep 17 00:00:00 2001 From: Martin Trigaux Date: Mon, 29 Jan 2018 14:39:58 +0100 Subject: [PATCH] [FIX] hr: open in list view This action was not working as the tree view has been removed This feature was replaced by hr_org_chart module Just display a list of the employee and subordinates Fixes #20203 Fixes #22312 Fixes #22536 --- addons/hr/views/hr_views.xml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/addons/hr/views/hr_views.xml b/addons/hr/views/hr_views.xml index 787b8ffa6e4..68bdba931a9 100644 --- a/addons/hr/views/hr_views.xml +++ b/addons/hr/views/hr_views.xml @@ -289,12 +289,14 @@ + Subordinate Hierarchy ir.actions.act_window hr.employee - [('id','in',active_ids)] - tree + ['|', ('id','in',active_ids), ('parent_id', 'in', active_ids)] + form + tree,form