From 6ff3a20d78d1bcfb954d4834e6ead6f09d92f7bf 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, 3 Feb 2026 16:54:32 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=B7=E5=81=87=E7=BB=93=E6=9D=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yuthon_hr_attendance/models/yuthon_holiday_statement.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yuthon_hr_attendance/models/yuthon_holiday_statement.py b/yuthon_hr_attendance/models/yuthon_holiday_statement.py index ee1bc5c6c..205bc6342 100644 --- a/yuthon_hr_attendance/models/yuthon_holiday_statement.py +++ b/yuthon_hr_attendance/models/yuthon_holiday_statement.py @@ -43,7 +43,7 @@ class InheritHrLeave(models.Model): if rec.batch_id: rec.application_reason = rec.batch_id.text rec.caption = rec.batch_id.name - rec.length_leave = rec.number_of_days_display + rec.length_leave = rec.number_of_days elif rec.hour_batch_id: rec.application_reason = rec.hour_batch_id.text rec.caption = rec.hour_batch_id.name