diff --git a/yuthon_holiday/models/inherit_hr_leave.py b/yuthon_holiday/models/inherit_hr_leave.py index 6df000bed..21067eed3 100644 --- a/yuthon_holiday/models/inherit_hr_leave.py +++ b/yuthon_holiday/models/inherit_hr_leave.py @@ -933,6 +933,7 @@ class HolidaysRequestBatch(models.Model): attendance_records.write({ 'workflow_id': workflow_id.id, 'is_workflow': True, + 'is_late_allowed': False, 'is_no_card': False, 'is_early_card': False, 'is_late_card': False,