diff --git a/yuthon_hr_attendance/models/yuthon_vacation_reports.py b/yuthon_hr_attendance/models/yuthon_vacation_reports.py index 4f8677701..23b81938c 100644 --- a/yuthon_hr_attendance/models/yuthon_vacation_reports.py +++ b/yuthon_hr_attendance/models/yuthon_vacation_reports.py @@ -189,7 +189,6 @@ class YuthonVacationReports(models.Model): @api.model def meal_line(self): today = date.today() - next_month = today.month if today.month < 12 else 1 next_year = today.year if today.month < 12 else today.year + 1 end_date = date(next_year, next_month, 1) - timedelta(days=1) @@ -1309,6 +1308,7 @@ class YuthonVacationReports(models.Model): 'last_holiday': last_month_record.last_holiday, 'last_workday': last_month_record.last_workday, 'valid_date1': last_month_record.valid_date1, + 'meal_fee': last_month_record.meal_fee, 'year_holiday': last_month_record.year_holiday, 'year_workday': last_month_record.year_workday, 'previous_year1': last_month_record.previous_year1,