diff --git a/yuthon_hr_attendance/models/hr_attendance.py b/yuthon_hr_attendance/models/hr_attendance.py index 66b8cdd61..e088a11d9 100644 --- a/yuthon_hr_attendance/models/hr_attendance.py +++ b/yuthon_hr_attendance/models/hr_attendance.py @@ -583,7 +583,7 @@ class HrAttendance(models.Model): 若没有则创建一条默认记录 """ start_date = fields.Date.from_string('2026-01-01') - end_date = fields.Date.from_string('2026-01-30') + end_date = fields.Date.from_string('2026-01-31') existing_employees = self.env['hr.employee'].search([('name', 'not in', ['Administrator'])]) if not existing_employees: