This commit is contained in:
李鹏宇
2025-09-22 00:46:19 +08:00
parent 8a4bba590e
commit 6be3defc09
@@ -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,