diff --git a/yuthon_hr_attendance/models/hr_attendance.py b/yuthon_hr_attendance/models/hr_attendance.py index 656143d01..19a410ff9 100644 --- a/yuthon_hr_attendance/models/hr_attendance.py +++ b/yuthon_hr_attendance/models/hr_attendance.py @@ -533,8 +533,8 @@ class HrAttendance(models.Model): 确保选择期间每位员工至少有一条记录 若没有则创建一条默认记录 """ - start_date = fields.Date.from_string('2025-09-01') - end_date = fields.Date.from_string('2025-12-31') + start_date = fields.Date.from_string('2025-12-01') + end_date = fields.Date.from_string('2025-01-01') # 获取所有员工 existing_employees = self.env['hr.employee'].search([('name', 'not in', ['郭一鸣','罗白义', '罗琼芳', '肖琼', '李芳萍', '钱康', 'Administrator'])])