From aab9ffa1b98db79a3e645f9f0b3d37f3387cf702 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=B9=8F=E5=AE=87?= <9664676+pengyuthon@user.noreply.gitee.com> Date: Tue, 23 Dec 2025 15:40:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yuthon_hr_attendance/models/yuthon_vacation_reports.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yuthon_hr_attendance/models/yuthon_vacation_reports.py b/yuthon_hr_attendance/models/yuthon_vacation_reports.py index 502e86212..ceceb61b4 100644 --- a/yuthon_hr_attendance/models/yuthon_vacation_reports.py +++ b/yuthon_hr_attendance/models/yuthon_vacation_reports.py @@ -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),