Browse Source

base_location: Don't position zip_id after street2, to avoid layout issues with module partner_address_street3

14.0
Alexis de Lattre 10 years ago
committed by Pedro M. Baeza
parent
commit
ebb0d5db38
  1. 6
      base_location/partner_view.xml

6
base_location/partner_view.xml

@ -6,7 +6,7 @@
<field name="model">res.partner</field> <field name="model">res.partner</field>
<field name="inherit_id" ref="base.view_partner_form"/> <field name="inherit_id" ref="base.view_partner_form"/>
<field name="arch" type="xml"> <field name="arch" type="xml">
<field name="street2" position="after">
<div class="address_format" position="before">
<field name="zip_id" <field name="zip_id"
options="{'create_name_field': 'city'}" options="{'create_name_field': 'city'}"
on_change="onchange_zip_id(zip_id)" on_change="onchange_zip_id(zip_id)"
@ -14,8 +14,8 @@
attrs="{'invisible': [('use_parent_address','=',True)]}" attrs="{'invisible': [('use_parent_address','=',True)]}"
class="oe_edit_only" class="oe_edit_only"
/> />
</field>
<xpath expr="//field[@name='child_ids']/form//field[@name='street2']" position="after">
</div>
<xpath expr="//field[@name='child_ids']/form//div[@class='address_format']" position="before">
<field name="zip_id" <field name="zip_id"
options="{'create_name_field': 'city'}" options="{'create_name_field': 'city'}"
on_change="onchange_zip_id(zip_id)" on_change="onchange_zip_id(zip_id)"

Loading…
Cancel
Save