添加功能

This commit is contained in:
李鹏宇
2025-09-15 16:40:01 +08:00
parent b03dfc105e
commit d0bed2dc73
+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),