[FIX] im_livechat: chatbot rules layout
Prior to this commit, the layout of the fields of the form for a rule in a chatbot was broken because of a missing condition in the 'only_if_no_operator' checkbox label. closes odoo/odoo#107459 X-original-commit: bcd952f358c06017fc33f3e5af74cf3aff17a18a Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
This commit is contained in:
@@ -226,7 +226,7 @@
|
||||
<field name="chatbot_script_id" class="oe_inline" style="width: 60% !important;"
|
||||
options="{'no_create': True, 'no_open': True}"/>
|
||||
</div>
|
||||
<label for="chatbot_only_if_no_operator" class="oe_inline" string="Enabled only if no operator"/>
|
||||
<label for="chatbot_only_if_no_operator" class="oe_inline" attrs="{'invisible': [('chatbot_script_id', '=', False)]}" string="Enabled only if no operator"/>
|
||||
<div class="oe_inline" attrs="{'invisible': [('chatbot_script_id', '=', False)]}">
|
||||
<field name="chatbot_only_if_no_operator"/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user