From a1a3f2438271a0dcc7bcecd79b82d7010cf494d9 Mon Sep 17 00:00:00 2001 From: younes Date: Sun, 13 Jul 2025 15:06:38 +0100 Subject: [PATCH] restrict check-in outside allowed working hours --- odex25_hr/attendances/views/hr_attendance_view.xml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/odex25_hr/attendances/views/hr_attendance_view.xml b/odex25_hr/attendances/views/hr_attendance_view.xml index 1af503835..d89517697 100644 --- a/odex25_hr/attendances/views/hr_attendance_view.xml +++ b/odex25_hr/attendances/views/hr_attendance_view.xml @@ -67,8 +67,6 @@ attrs="{'required':[('is_full_day','=',True)], 'invisible':[('is_full_day','=',False)], 'readonly': [('state', '!=', 'draft')]}"/> - - + + + + +