From b30b529a597b77cfbc40ea68363a0e2587f271c4 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, 25 May 2026 10:06:50 +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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yuthon_hr_attendance/models/hr_attendance.py b/yuthon_hr_attendance/models/hr_attendance.py index 9c5f21d41..b9925b7dc 100644 --- a/yuthon_hr_attendance/models/hr_attendance.py +++ b/yuthon_hr_attendance/models/hr_attendance.py @@ -633,8 +633,8 @@ class HrAttendance(models.Model): 确保选择期间每位员工至少有一条记录 若没有则创建一条默认记录 """ - start_date = fields.Date.from_string('2026-03-01') - end_date = fields.Date.from_string('2026-03-24') + start_date = fields.Date.from_string('2026-05-01') + end_date = fields.Date.from_string('2026-05-25') existing_employees = self.env['hr.employee'].search([('name', 'not in', ['Administrator'])]) if not existing_employees: