You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

25 lines
1.0 KiB

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2017 Eficent Business and IT Consulting Services S.L.
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
<odoo>
<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="//form/sheet/group" position="after">
<group col="4">
<field name="reviewer_expression" colspan="4"
attrs="{'invisible': [('review_type', '!=', 'expression')]}"/>
</group>
</xpath>
<field name="definition_domain" position="after">
<field name="python_code"
attrs="{'invisible': [('definition_type', '!=', 'formula')]}"/>
</field>
</field>
</record>
</odoo>