添加功能
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user