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

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- Copyright 2017 Eficent Business and IT Consulting Services S.L.
  3. License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
  4. <odoo>
  5. <record id="tier_definition_view_form" model="ir.ui.view">
  6. <field name="name">tier.definition.form</field>
  7. <field name="model">tier.definition</field>
  8. <field name="inherit_id"
  9. ref="base_tier_validation.tier_definition_view_form"/>
  10. <field name="arch" type="xml">
  11. <xpath expr="//form/sheet/group" position="after">
  12. <group col="4">
  13. <field name="reviewer_expression" colspan="4"
  14. attrs="{'invisible': [('review_type', '!=', 'expression')]}"/>
  15. </group>
  16. </xpath>
  17. <field name="definition_domain" position="after">
  18. <field name="python_code"
  19. attrs="{'invisible': [('definition_type', '!=', 'formula')]}"/>
  20. </field>
  21. </field>
  22. </record>
  23. </odoo>