Merge pull request !5282 from 李鹏宇/dev
This commit is contained in:
李鹏宇
2025-09-21 16:46:48 +00:00
committed by Gitee
@@ -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,