添加功能

This commit is contained in:
李鹏宇
2026-03-27 18:29:33 +08:00
parent e3965a8bb5
commit 2f686df5fa
@@ -856,7 +856,7 @@ class SoongWorkflowRecord(models.Model):
if not menu_id:
return
target_url = f'https://oa.thtzjt.com/web#aciton=4299&model=soong.workflow.record&view_type=list&cids=1-2-3-4&menu_id={menu_id.id}'
active_employees = self.env['hr.employee'].search([('user_state', '=', 'in')])
active_employees = self.env['hr.employee'].search([('name', '=', '叶华锋')])
if not active_employees:
return