diff --git a/yuthon_hr_attendance/wizard/export_date_wizard.py b/yuthon_hr_attendance/wizard/export_date_wizard.py index dd1398b7d..a34f7ebc5 100644 --- a/yuthon_hr_attendance/wizard/export_date_wizard.py +++ b/yuthon_hr_attendance/wizard/export_date_wizard.py @@ -260,6 +260,7 @@ class ExportDateWizard(models.TransientModel): active_records = self.env['vacation.overtime.active'].search([ ('select_year', '=', str(prev_year)), ('select_month', '=', str(prev_month)), + ('select_revoke', '=', 'to_do') ]) if not active_records: