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.
37 lines
1.3 KiB
37 lines
1.3 KiB
<openerp>
|
|
<data>
|
|
<record id="view_partner_simple_form_firstname" model="ir.ui.view">
|
|
<field name="name">res.partner.simplified.form.firstname</field>
|
|
<field name="model">res.partner</field>
|
|
<field name="inherit_id" ref="base.view_partner_simple_form"/>
|
|
<field name="arch" type="xml">
|
|
<field name="category_id" position="before">
|
|
<group>
|
|
<field name="lastname"/>
|
|
<field name="firstname"/>
|
|
</group>
|
|
</field>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="view_partner_form_firstname" model="ir.ui.view">
|
|
<field name="name">res.partner.form.firstname</field>
|
|
<field name="model">res.partner</field>
|
|
<field name="inherit_id" ref="base.view_partner_form"/>
|
|
<field name="arch" type="xml">
|
|
<field name="category_id" position="before">
|
|
<group>
|
|
<field name="lastname"/>
|
|
<field name="firstname"/>
|
|
</group>
|
|
</field>
|
|
<!-- Add fistname last name in contact for also -->
|
|
<xpath expr="//page[@string='Contacts']/field/form/div/group/field[@name='name']" position="after">
|
|
<field name="lastname"/>
|
|
<field name="firstname"/>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
|
|
</data>
|
|
</openerp>
|