更新
This commit is contained in:
@@ -19,7 +19,7 @@ CONDITION_CODE_TEMP = """# Available locals:
|
||||
# - workflow: Workflow engine.
|
||||
# - syslog : syslog(message), function to log debug information to Odoo logging file or console.
|
||||
# - warning: warning(message), Warning Exception to use with raise.
|
||||
To return an user, assign:
|
||||
# - To return an user, assign:
|
||||
|
||||
|
||||
user = env.user"""
|
||||
|
||||
@@ -162,7 +162,7 @@
|
||||
invisible="review_type != 'group'"
|
||||
/>
|
||||
</group>
|
||||
<group invisible="review_type != 'expression'">
|
||||
<group invisible="review_type != 'expression' or btn_hide == False">
|
||||
<div class="alert alert-danger oe_edit_only" role="alert" style="width: max-content;">
|
||||
<strong>Note:</strong> The result of executing the expression must be a res.users recordset.
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user