From 563d9191868a6443675bc1d9ee28eed9ea23ac3c Mon Sep 17 00:00:00 2001 From: Nisha patel Date: Wed, 2 Sep 2020 12:53:05 +0000 Subject: [PATCH] [FIX] hr_holidays: Fix wrong button shows in the footer Currently, In the time off module when we try to open time off activity from systray view it will open the wrong form view so it shows the "Save" and "discard" button in the footer. So in this commit, Fix it by changing the priority of primary view which is only used for creating new timeoff from dashboard. closes odoo/odoo#57578 Task-id: 2329080 X-original-commit: 2154e742418b6a2ff87f120d0338bc30b3d4b4dd Signed-off-by: Yannick Tivisse (yti) --- addons/hr_holidays/views/hr_leave_views.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/hr_holidays/views/hr_leave_views.xml b/addons/hr_holidays/views/hr_leave_views.xml index 705ca75d31a..10c122074df 100644 --- a/addons/hr_holidays/views/hr_leave_views.xml +++ b/addons/hr_holidays/views/hr_leave_views.xml @@ -371,6 +371,7 @@ hr.leave primary + 17