添加功能

This commit is contained in:
李鹏宇
2026-04-20 18:54:23 +08:00
parent 86f274fd41
commit 4187ebd9be
+1
View File
@@ -601,6 +601,7 @@ 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)
])