添加功能

This commit is contained in:
李鹏宇
2025-11-27 11:35:34 +08:00
parent 359583c3c6
commit 9209f6d94f
@@ -301,7 +301,7 @@ class SoongWorkflowMixin(models.AbstractModel):
index = 20 # 防止死循环
break
current_department = self.department_id
if btn_rec.link_id:
if btn_rec.link_id and btn_rec.link_id in current_node.out_link_ids:
matched_link = btn_rec.link_id
next_node = matched_link.node_to
matched_key = next_node.name