<?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"> <notebook position="inside"> <page string="Passport" attrs="{'invisible': [('is_company','=',True)]}"> <field name="passport_ids" nolabel="1"/> </page> </notebook> </field> </record> </data> </openerp>