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 @@ +