From 5ae142d022337ddea6c7f91f3cc3e3cda8672cef 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: Mon, 29 Dec 2025 15:50:52 +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_holiday/models/inherit_hr_leave.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yuthon_holiday/models/inherit_hr_leave.py b/yuthon_holiday/models/inherit_hr_leave.py index ae89f4635..e1d7e6d9c 100644 --- a/yuthon_holiday/models/inherit_hr_leave.py +++ b/yuthon_holiday/models/inherit_hr_leave.py @@ -699,7 +699,7 @@ class HolidaysRequestBatch(models.Model): hours_days = 0 for line in self.hour_leave_ids: hours_days += line.leave_hours - self.days = total_days + hours_days + self.days = total_days + hours_days / 8 # 生成名称:员工名 + 假期类型 + 日期范围 + 天数/小时 if self.employee_id: