diff --git a/yuthon_hr_attendance/models/yuthon_vacation_reports.py b/yuthon_hr_attendance/models/yuthon_vacation_reports.py index c0db69c17..3a1842fc8 100644 --- a/yuthon_hr_attendance/models/yuthon_vacation_reports.py +++ b/yuthon_hr_attendance/models/yuthon_vacation_reports.py @@ -2756,6 +2756,7 @@ class YuthonVacationReports(models.Model): pending = self.env['soong.workflow.record'].sudo().search_count([ ('users_ids', 'in', user.id), ('approvals_group_id.name', '=', '考勤'), + ('reclaim_state', '=', False), ('approve_state', '=', 'pending'), ('workflow_happen_date', '>=', month_start), ('workflow_happen_date', '<=', month_end),