From f9a4e841ae1bc7ef70f71be16b7c7262997c4847 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=B9=8F=E5=AE=87?= <9664676+pengyuthon@user.noreply.gitee.com> Date: Mon, 20 Apr 2026 19:04:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yuthon_issue/models/issue_library.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/yuthon_issue/models/issue_library.py b/yuthon_issue/models/issue_library.py index 5b482a68a..f6789efd7 100644 --- a/yuthon_issue/models/issue_library.py +++ b/yuthon_issue/models/issue_library.py @@ -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 = ['办公室', '财务部', '风控法务部', '纪检审计部', '综合办公室']