添加功能
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user