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"?>
|
|
<openerp>
|
|
<data>
|
|
<record id="view_partner_form" model="ir.ui.view">
|
|
<field name="name">res.partner.zip_id.2</field>
|
|
<field name="model">res.partner</field>
|
|
<field name="inherit_id" ref="base.view_partner_form"/>
|
|
<field name="arch" type="xml">
|
|
<field name="street2" position="after">
|
|
<field name="zip_id"
|
|
options="{'create_name_field': 'city'}"
|
|
on_change="onchange_zip_id(zip_id)"
|
|
placeholder="City completion"
|
|
attrs="{'invisible': [('use_parent_address','=',True)]}"
|
|
class="oe_edit_only"
|
|
/>
|
|
</field>
|
|
<xpath expr="//field[@name='child_ids']/form//field[@name='street2']" position="after">
|
|
<field name="zip_id"
|
|
options="{'create_name_field': 'city'}"
|
|
on_change="onchange_zip_id(zip_id)"
|
|
placeholder="City completion"
|
|
attrs="{'invisible': [('use_parent_address','=',True)]}"
|
|
class="oe_edit_only"
|
|
/>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
</data>
|
|
</openerp>
|