This commit is contained in:
李鹏宇
2026-03-25 19:27:06 +08:00
+1 -1
View File
@@ -627,7 +627,7 @@ class HrAttendance(models.Model):
确保选择期间每位员工至少有一条记录
若没有则创建一条默认记录
"""
start_date = fields.Date.from_string('2026-03-20')
start_date = fields.Date.from_string('2026-03-01')
end_date = fields.Date.from_string('2026-03-24')
existing_employees = self.env['hr.employee'].search([('name', 'not in', ['Administrator'])])