Merge pull request !11033 from 李鹏宇/dev
This commit is contained in:
李鹏宇
2026-04-20 11:05:50 +00:00
committed by Gitee
-2
View File
@@ -601,7 +601,6 @@ class IssueLibrary(models.Model):
all_dept_ids = get_all_sub_departments(ras.department_id)
target_employees = self.env['hr.employee'].search([
('department_id', 'in', all_dept_ids),
('department_ids', 'in', all_dept_ids),
('active', '=', True)
])
@@ -710,7 +709,6 @@ class IssueLibrary(models.Model):
all_dept_ids = get_all_sub_departments(self.department_id)
target_employees = self.env['hr.employee'].search([
('department_id', 'in', all_dept_ids),
('department_ids', 'in', all_dept_ids),
('active', '=', True)
])
target_dept_names = ['办公室', '财务部', '风控法务部', '纪检审计部', '综合办公室']