@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user