@@ -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 = ['办公室', '财务部', '风控法务部', '纪检审计部', '综合办公室']
|
||||
|
||||
Reference in New Issue
Block a user