添加功能
This commit is contained in:
@@ -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):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user