diff --git a/yuthon_holiday/views/hr_leave_batch.xml b/yuthon_holiday/views/hr_leave_batch.xml index d17fa5406..25f298a7e 100644 --- a/yuthon_holiday/views/hr_leave_batch.xml +++ b/yuthon_holiday/views/hr_leave_batch.xml @@ -88,8 +88,6 @@ ('requires_allocation', '=', 'no'), '&', ('has_valid_allocation', '=', True), - '|', - ('allows_negative', '=', True), ]" context="{'employee_id': employee_id}" options="{'no_create': True, 'no_open': True, 'request_type': 'leave'}" @@ -151,8 +149,6 @@ ('requires_allocation', '=', 'no'), '&', ('has_valid_allocation', '=', True), - '|', - ('allows_negative', '=', True), ]" context="{'employee_id': employee_id}" options="{'no_create': True, 'no_open': True, 'request_type': 'leave'}"