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.
30 lines
1.2 KiB
30 lines
1.2 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
|
|
<!-- Add phone number extension fields for partner -->
|
|
<record id="view_partner_simple_number_extension_form" model="ir.ui.view">
|
|
<field name="name">view.partner.simple.number.extension.form</field>
|
|
<field name="model">res.partner</field>
|
|
<field name="inherit_id" ref="base.view_partner_simple_form"/>
|
|
<field name="arch" type="xml">
|
|
<field name="phone" position="after">
|
|
<field name="extension"/>
|
|
</field>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="view_partner_number_extension_form" model="ir.ui.view">
|
|
<field name="name">view.partner.number.extension.form</field>
|
|
<field name="model">res.partner</field>
|
|
<field name="inherit_id" ref="base.view_partner_form"/>
|
|
<field name="arch" type="xml">
|
|
<field name="phone" position="after">
|
|
<field name="extension"/>
|
|
</field>
|
|
<xpath expr="/form/sheet/notebook/page/field/form/sheet/group/group/field[@name='phone']" position="after">
|
|
<field name="extension"/>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
|
|
</odoo>
|