添加功能
This commit is contained in:
@@ -227,6 +227,8 @@ class SoongWorkflowCommentWizard(models.TransientModel):
|
||||
for btn in node.button_ids:
|
||||
if btn.name == btn_name: # 匹配优先级按钮名称
|
||||
is_in_scope = True
|
||||
if not btn.is_review_invisible:
|
||||
button = btn
|
||||
if btn.is_review_invisible:
|
||||
domain = eval(btn.invisible_expression)
|
||||
model = record_id.env[record_id._name]
|
||||
@@ -238,6 +240,7 @@ class SoongWorkflowCommentWizard(models.TransientModel):
|
||||
break
|
||||
if button:
|
||||
break
|
||||
|
||||
link_users_id = button.users_role_id
|
||||
link_users_group_ids = button.users_role_group_ids
|
||||
is_automatic = button.is_automatic
|
||||
|
||||
Reference in New Issue
Block a user