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.
|
|
<?xml version="1.0" encoding="utf-8"?> <odoo> <record id="view_partner_tree_age" model="ir.ui.view"> <field name="name">res.partner.tree.age</field> <field name="model">res.partner</field> <field name="inherit_id" ref="easy_my_coop.view_partner_form_easy_my_coop"/> <field name="arch" type="xml"> <xpath expr="//field[@name='birthdate']" position='after'> <field name="age" attrs="{'invisible':[('is_company','=',True)]}"/> </xpath> </field> </record> <record id="view_partner_tree_age" model="ir.ui.view"> <field name="name">res.partner.tree.easy_my_coop</field> <field name="model">res.partner</field> <field name="inherit_id" ref="easy_my_coop.view_partner_tree_easy_my_coop"/> <field name="arch" type="xml"> <xpath expr="//field[@name='cooperator_type']" position='after'> <field name="age"/> </xpath> </field> </record> </odoo>
|