添加功能
This commit is contained in:
@@ -1315,6 +1315,8 @@ class HrAttendance(models.Model):
|
||||
'absenteeism_card': False
|
||||
})
|
||||
return
|
||||
if self.workflow_id.res_model == 'overtime.approval':
|
||||
return
|
||||
current_date_start = datetime.combine(current_date, datetime.min.time()) # 当天 00:00:00 datetime类型
|
||||
current_date_end = datetime.combine(current_date, datetime.max.time()) # 当天 23:59:59 datetime类型
|
||||
|
||||
|
||||
Reference in New Issue
Block a user