From 6be3defc09b689ad234f7b4f71cd792f7fb81ebb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=B9=8F=E5=AE=87?= Date: Mon, 22 Sep 2025 00:46:19 +0800 Subject: [PATCH] 1 --- yuthon_hr_attendance/controllers/applet_attendance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yuthon_hr_attendance/controllers/applet_attendance.py b/yuthon_hr_attendance/controllers/applet_attendance.py index 2a77d77e9..6b90b7745 100644 --- a/yuthon_hr_attendance/controllers/applet_attendance.py +++ b/yuthon_hr_attendance/controllers/applet_attendance.py @@ -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,