@@ -407,7 +407,7 @@ class AppletAttendance(Controller):
|
||||
# 创建考勤记录
|
||||
request.env(user=SUPERUSER_ID)["hr.attendance.detail"].create({
|
||||
'employee_id': employee_id.id,
|
||||
'checkin_time': current_datetime - timedelta(hours=8),
|
||||
'checkin_time': current_datetime,
|
||||
'source': 'mini_programs',
|
||||
'groupname': groupname,
|
||||
'checkin_type': checkin_type,
|
||||
|
||||
Reference in New Issue
Block a user