添加功能

This commit is contained in:
李鹏宇
2026-02-04 21:31:25 +08:00
parent 10cd1de567
commit ff71dbf09f
+7 -1
View File
@@ -688,8 +688,14 @@ class HolidaysRequestBatch(models.Model):
if attendance_records:
attendance_records.write({
'workflow_id': workflow_id.id,
'is_workflow': True,
'is_no_card': False,
'is_early_card': False,
'is_late_card': False,
'is_abnormal': False,
'absenteeism_card': False
})
attendance_records.fixes()
def _compute_duration_day(self, holiday_status_id, start_date, end_date):
"""