mirror of
https://gitlab.com/flectra-community/server-ux.git
synced 2024-11-24 07:02:07 +00:00
51 lines
2.3 KiB
XML
51 lines
2.3 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<flectra>
|
|
|
|
<record id="view_server_action_form" model="ir.ui.view">
|
|
<field name="model">ir.actions.server</field>
|
|
<field name="inherit_id" ref="base.view_server_action_form" />
|
|
<field name="arch" type="xml">
|
|
<page name="security" position="before">
|
|
<page
|
|
name="mass_edit_line_ids"
|
|
string="Fields"
|
|
attrs="{'invisible': [('state', '!=', 'mass_edit')]}"
|
|
>
|
|
<group>
|
|
<field name="mass_edit_line_ids" colspan="4" nolabel="1">
|
|
<tree editable="bottom">
|
|
<field name="model_id" invisible="1" />
|
|
<field name="server_action_id" invisible="1" />
|
|
<field name="sequence" widget="handle" />
|
|
<field
|
|
name="field_id"
|
|
options="{'no_create': True, 'no_create_edit': True}"
|
|
/>
|
|
<field name="widget_option" />
|
|
<field name="apply_domain" />
|
|
</tree>
|
|
</field>
|
|
<field name="mass_edit_apply_domain_in_lines" invisible="1" />
|
|
<div
|
|
colspan="2"
|
|
class="text-warning"
|
|
attrs="{'invisible': [('mass_edit_apply_domain_in_lines', '=', False)]}"
|
|
>
|
|
<b
|
|
>WARNING</b>: Take into account that adding a field with a domain, and not including the fields of such domain in this operation definition, will lead to an error when trying to perform it. Make sure you include them.
|
|
</div>
|
|
</group>
|
|
</page>
|
|
<page
|
|
name="mass_edit_message"
|
|
string="Message"
|
|
attrs="{'invisible': [('state', '!=', 'mass_edit')]}"
|
|
>
|
|
<field name="mass_edit_message" />
|
|
</page>
|
|
</page>
|
|
</field>
|
|
</record>
|
|
|
|
</flectra>
|