[FIX] base: remove autofocus on help tab from action server

It is only useful the first time to see the help tab.
And the content is already as docstring of the action.

closes odoo/odoo#111838

X-original-commit: 89f92d46e15aed91c535f78d2ec5f32ce11142c5
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Signed-off-by: Jérémy Kersten <jke@odoo.com>
This commit is contained in:
Jeremy Kersten
2023-02-03 15:28:04 +01:00
parent 3905feb62a
commit 3c939ada28
+4 -4
View File
@@ -314,12 +314,12 @@
</group>
</group>
<notebook>
<page string="Python Code" name='code' autofocus="autofocus"
<page string="Python Code" name='code'
attrs="{'invisible': [('state', '!=', 'code')]}">
<field name="code" widget="ace" options="{'mode': 'python'}" placeholder="Enter Python code here. Help about Python expression is available in the help tab of this document."/>
</page>
<page string="Data to Write" name="page_object" autofocus="autofocus"
<page string="Data to Write" name="page_object"
attrs="{'invisible':[('state', 'not in', ['object_create', 'object_write'])]}">
<p attrs="{'invisible': [('model_id', '!=', False)]}">
Please set the Model to Create before choosing values
@@ -345,7 +345,7 @@
<field name="groups_id"/>
</page>
<page string="Actions" name="actions" autofocus="autofocus"
<page string="Actions" name="actions"
attrs="{'invisible': [('state', '!=', 'multi')]}">
<p class="oe_grey">
If several child actions return an action, only the last one will be executed.
@@ -354,7 +354,7 @@
<field name="child_ids" domain="[('model_id', '=', model_id)]"/>
</page>
<page string="Help" name="help_info" autofocus="autofocus"
<page string="Help" name="help_info"
attrs="{'invisible': [('state', '!=', 'code')]}">
<div style="margin-top: 4px;">
<h3>Help with Python expressions</h3>