From 69e3f42bbce73e7a94362b0b19d7ada9a9b890e2 Mon Sep 17 00:00:00 2001 From: "Achraf (abz)" Date: Fri, 30 Oct 2020 10:00:25 +0000 Subject: [PATCH] [FIX] hr_holidays: Refuse approved time off Issue - Install "Time Off" - Create new time off and approve it We can no longer refuse it Cause The refuse button is invisible if the status is not equal to 'validate', in this case it is equal to 'validate1' Solution Change the attrs to display the refuse button when the status is 'validate1' opw-2361929 closes odoo/odoo#61079 X-original-commit: 80926f582d88aae359a6b35ea521026a3804ce00 Signed-off-by: Nicolas Martinelli (nim) Signed-off-by: Achraf --- addons/hr_holidays/views/hr_leave_allocation_views.xml | 4 ++-- addons/hr_holidays/views/hr_leave_views.xml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/hr_holidays/views/hr_leave_allocation_views.xml b/addons/hr_holidays/views/hr_leave_allocation_views.xml index abcd5393fbf..edf8a232401 100644 --- a/addons/hr_holidays/views/hr_leave_allocation_views.xml +++ b/addons/hr_holidays/views/hr_leave_allocation_views.xml @@ -133,8 +133,8 @@