From ff63baf95abcf87497de6b72056dab49ab2909d9 Mon Sep 17 00:00:00 2001 From: Mithilesh Rao Date: Fri, 11 Sep 2020 09:42:02 +0000 Subject: [PATCH] [FIX] hr_expense: Fix default view in 'expense analysis' menu Currently, expense analysis menu have default view as list and kanban but is should be graph,pivot,list and kanban. Here viewmode is already in same sequence but only list and kanban view is linked with action. graph and pivot view is not linked with action so it will be always comes up in last in sequence. So in this commit, Link graph and pivot with the action so it should comes up first in expense analysis menu. closes odoo/odoo#58582 Taskid: 2337224 X-original-commit: e273afd187edca1df6b462af42db3cce58df88d7 Signed-off-by: Yannick Tivisse (yti) --- addons/hr_expense/views/hr_expense_views.xml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/addons/hr_expense/views/hr_expense_views.xml b/addons/hr_expense/views/hr_expense_views.xml index b514f2fe178..7eb3359b205 100644 --- a/addons/hr_expense/views/hr_expense_views.xml +++ b/addons/hr_expense/views/hr_expense_views.xml @@ -361,6 +361,18 @@ + + graph + + + + + + pivot + + + + tree