!10379 添加功能

Merge pull request !10379 from 李鹏宇/dev_zhou
This commit is contained in:
李鹏宇
2026-03-30 10:49:46 +00:00
committed by Gitee
+1 -1
View File
@@ -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)