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.
35 lines
1.4 KiB
35 lines
1.4 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<openerp>
|
|
<data>
|
|
<record id="view_passport_partner_form" model="ir.ui.view">
|
|
<field name="name">passport.partner.form.inherit</field>
|
|
<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),('contact_id','!=',False)]}">
|
|
<field name="passport_ids" nolabel="1">
|
|
<tree string="Passport Details">
|
|
<field name="name"/>
|
|
<field name="number"/>
|
|
<field name="country_id"/>
|
|
<field name="expiration_date"/>
|
|
</tree>
|
|
<form string="Passport" version="7.0">
|
|
<group col="4">
|
|
<field name="name" string="Owner name (As printed into the passport)"/>
|
|
<field name="number"/>
|
|
<field name="country_id"/>
|
|
<field name="expiration_date"/>
|
|
<field name="birth_date"/>
|
|
<field name="gender"/>
|
|
<field name="partner_id" invisible="1"/>
|
|
</group>
|
|
</form>
|
|
</field>
|
|
</page>
|
|
</notebook>
|
|
</field>
|
|
</record>
|
|
</data>
|
|
</openerp>
|