server-ux/base_tier_validation_server_action/views/tier_definition_view.xml

27 lines
1.1 KiB
XML
Raw Normal View History

2021-03-23 19:15:27 +00:00
<?xml version="1.0" encoding="utf-8" ?>
<!-- # Copyright 2020 Ecosoft (http://ecosoft.co.th)
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
<flectra>
<record id="tier_definition_view_form" model="ir.ui.view">
<field name="name">tier.definition.form</field>
<field name="model">tier.definition</field>
<field name="inherit_id" ref="base_tier_validation.tier_definition_view_form" />
<field name="arch" type="xml">
<xpath expr="//page[@name='options']/group" position="inside">
<group name="server_action">
<field name="server_action_id" />
<field name="rejected_server_action_id" />
<field name="auto_validate" />
<field
name="auto_validate_domain"
string="if pass condition"
widget="domain"
options="{'model': 'model'}"
attrs="{'invisible': [('auto_validate', '=', False)]}"
/>
</group>
</xpath>
</field>
</record>
</flectra>