diff --git a/yuthon_hr_attendance/models/yuthon_vacation_reports.py b/yuthon_hr_attendance/models/yuthon_vacation_reports.py index b5099ac09..ebf14aa10 100644 --- a/yuthon_hr_attendance/models/yuthon_vacation_reports.py +++ b/yuthon_hr_attendance/models/yuthon_vacation_reports.py @@ -704,6 +704,9 @@ class YuthonVacationReports(models.Model): 'views': [(False, 'form')], 'view_mode': 'form', 'target': 'current', + 'flags': { + 'keepPrevious': False, + }, }) return action