From 1b4faae19e6a6d22013cbb785aff32b73397ce4c 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: Thu, 5 Mar 2026 21:49:39 +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 +-
yuthon_hr_attendance/views/yuthon_vacation_reports_views.xml | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/yuthon_hr_attendance/models/yuthon_vacation_reports.py b/yuthon_hr_attendance/models/yuthon_vacation_reports.py
index 1cad3f6b9..c3be4dea7 100644
--- a/yuthon_hr_attendance/models/yuthon_vacation_reports.py
+++ b/yuthon_hr_attendance/models/yuthon_vacation_reports.py
@@ -2232,7 +2232,7 @@ class VacationMealLine(models.Model):
duration = (end_time - start_time).total_seconds() / 3600
rec.duration = duration or ''
- rec.reasons = go_approval_id.details
+ rec.reasons = go_approval_id.reason_application
rec.start_date = start_date
rec.start_time = start_time
rec.end_time = end_time
diff --git a/yuthon_hr_attendance/views/yuthon_vacation_reports_views.xml b/yuthon_hr_attendance/views/yuthon_vacation_reports_views.xml
index c177f3a6b..039cd1405 100644
--- a/yuthon_hr_attendance/views/yuthon_vacation_reports_views.xml
+++ b/yuthon_hr_attendance/views/yuthon_vacation_reports_views.xml
@@ -4,7 +4,7 @@
vacation.meal.line.tree
vacation.meal.line
-
+
@@ -19,6 +19,7 @@
+