From 03d7793b77f69c4af2e2242cefa83ef6b2a1b19b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=B9=8F=E5=AE=87?= <9664676+pengyuthon@user.noreply.gitee.com> Date: Fri, 6 Feb 2026 17:10:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- soong_workflow/wizard/soong_workflow_comment_wizard.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/soong_workflow/wizard/soong_workflow_comment_wizard.py b/soong_workflow/wizard/soong_workflow_comment_wizard.py index f9c6e22d5..2cf24961a 100644 --- a/soong_workflow/wizard/soong_workflow_comment_wizard.py +++ b/soong_workflow/wizard/soong_workflow_comment_wizard.py @@ -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