添加功能

This commit is contained in:
李鹏宇
2026-07-01 18:41:34 +08:00
parent af6a5e2f8b
commit f331cbd3df
@@ -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),