Odoo modules extending contacts / partners
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.

31 lines
1.2 KiB

<?xml version="1.0" encoding="utf-8"?>
<!-- License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html). -->
<odoo>
<record id="personal_information_form_inherit" model="ir.ui.view">
<field name="name">res.partner.form.inherit.birthplace</field>
<field name="model">res.partner</field>
<field name="inherit_id" ref="partner_contact_personal_information_page.personal_information" />
<field name="priority">18</field>
<field name="arch" type="xml">
<group name="personal_information_group" position="replace">
<group name="personal_information_group">
<group name="personal_information_col1">
<field name="birthdate_date" />
</group>
<group name="personal_information_col2">
<field name="age" />
</group>
</group>
</group>
<field name="birthdate_date" position="after">
<label for="birthplace" />
<div class="o_row">
<field name="birthplace" nolabel="1" />
<field name="birthplace_country_id" options="{'no_create': 1, 'no_open':1}" nolabel="1" class="oe_inline" />
</div>
</field>
</field>
</record>
</odoo>