From 7b523bc6010648bc991f0ee735659c2383309f01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=B9=8F=E5=AE=87?= <9664676+pengyuthon@user.noreply.gitee.com> Date: Mon, 30 Mar 2026 18:44:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yuthon_hr_attendance/models/hr_attendance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yuthon_hr_attendance/models/hr_attendance.py b/yuthon_hr_attendance/models/hr_attendance.py index d350afef3..d0999a643 100644 --- a/yuthon_hr_attendance/models/hr_attendance.py +++ b/yuthon_hr_attendance/models/hr_attendance.py @@ -723,7 +723,7 @@ class HrAttendance(models.Model): if '行政' in template.display_name: domain = [ ('employee_id', '=', employee_id.id), - ('checkin_time', '>=', current_date), + ('checkin_time', '>=', start_datetime), ('checkin_time', '<', next_day) ] attendance_records = self.env['hr.attendance.detail'].search(domain)