Merge pull request !5141 from 李鹏宇/dev
This commit is contained in:
李鹏宇
2025-09-15 08:40:57 +00:00
committed by Gitee
+1 -1
View File
@@ -610,7 +610,7 @@ class HolidaysRequestBatch(models.Model):
:param end_date: 结束时间
:return:
"""
workflow_id = self.env['soong.workflow.record'].search([('code', '=', code)], limit=1).id
workflow_id = self.env['soong.workflow.record'].search([('code', '=', code)], limit=1)
attendance_records = self.env['hr.attendance'].search([
('employee_id', '=', employee_id.id),
('current_data', '>=', start_date),