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.
 
 

20 lines
543 B

<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<record id="view_partner_form" model="ir.ui.view">
<field name="model">res.partner</field>
<field name="inherit_id" ref="base.view_partner_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='name']/.." position="after">
<field name="birth_name"
attrs="{'invisible': [('is_company','=', True)]}"
placeholder="Birth Name"/>
</xpath>
</field>
</record>
</data>
</openerp>