Merge pull request !7204 from 李鹏宇/dev
This commit is contained in:
李鹏宇
2025-12-23 07:41:12 +00:00
committed by Gitee
@@ -701,7 +701,7 @@ class YuthonVacationReports(models.Model):
def _update_over_lines(self, report, allocations, number_of_hours_display):
"""更新补休明细行"""
for alloc in allocations:
existing_line = self.env['vacation.leave.line'].search([
existing_line = self.env['vacation.over.line'].search([
('workflow_record_id', '=', False),
('vacation_id', '=', report.id),
('employee_id', '=', report.employee_id.id),