FIX CALC attendances HOLDAY
This commit is contained in:
parent
351da89130
commit
6980ab4ac0
|
|
@ -654,7 +654,7 @@ class HrAttendanceTransactions(models.Model):
|
|||
public = self.env['hr.holiday.officials'].search([('active', '=', True), ('state', '=', 'confirm'),
|
||||
('date_from', '<=', day_item),
|
||||
('date_to', '>=', day_item)])
|
||||
employee_list = self.env['hr.employee'].search([('state', '=', 'open'),('id','=',2949)]) \
|
||||
employee_list = self.env['hr.employee'].search([('state', '=', 'open')]) \
|
||||
if not attendance_employee else attendance_employee
|
||||
|
||||
for employee in employee_list:
|
||||
|
|
|
|||
Loading…
Reference in New Issue