[IMP] base: add form view for ir.actions.client model

before this commit, there is no form view defined for the ir.actions.client model, so opening the form view of this model returns the odoo auto created form view, which is not looking good in ui.

the form can be opened by clicking on Edit Action button in the debug tool from a client action menu like Discuss

closes odoo/odoo#108829

Signed-off-by: Julien Castiaux <juc@odoo.com>
This commit is contained in:
niyasraphy
2023-01-02 17:48:44 +01:00
parent a73b925fdd
commit 2a32cdc3cf
@@ -133,6 +133,35 @@
</record>
<menuitem action="ir_action_report" id="menu_ir_action_report" parent="base.next_id_6"/>
<!-- ir.actions.client -->
<record id="view_client_action_form" model="ir.ui.view">
<field name="name">ir.actions.client.form</field>
<field name="model">ir.actions.client</field>
<field name="arch" type="xml">
<form string="Client Action">
<sheet>
<group>
<group name="main_details">
<field name="name"/>
<field name="xml_id" string="External ID"/>
<field name="binding_type"/>
<field name="tag"/>
</group>
<group name="action_details">
<field name="type" readonly="1"/>
<field name="target"/>
<field name="context"/>
</group>
</group>
<group name="help" string="Help">
<field name="help" colspan="2" nolabel="1" class="oe-bordered-editor"/>
</group>
</sheet>
</form>
</field>
</record>
<!-- ir.actions.act_window -->
<record id="view_window_action_tree" model="ir.ui.view">