Merge pull request !4381 from 李鹏宇/dev
This commit is contained in:
李鹏宇
2025-08-07 07:22:47 +00:00
committed by Gitee
@@ -132,7 +132,7 @@ class YuthonVacationReports(models.Model):
for day in range(1, days_in_month + 1):
current_date = date(year, month, day)
attendances = self.env["hr.attendance"].sudo().search([
('employee_id', '=', rec.employee_id.id),
('employee_id', '=', rec.employee_ids.id),
("current_data", '=', current_date)
])
if attendances: