添加功能
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user