Browse Source

[FIX] base_location: improve res.partner form view (#609)

pull/650/head
Alexis de Lattre 6 years ago
committed by Pedro M. Baeza
parent
commit
987e0b7c7a
  1. 2
      base_location/__manifest__.py
  2. 1
      base_location/views/partner_view.xml

2
base_location/__manifest__.py

@ -5,7 +5,7 @@
{
'name': 'Location management (aka Better ZIP)',
'version': '10.0.1.0.2',
'version': '10.0.1.0.4',
'depends': [
'base',
],

1
base_location/views/partner_view.xml

@ -8,6 +8,7 @@
<field name="arch" type="xml">
<field name="city" position="before">
<field name="zip_id"
attrs="{'readonly': [('type', '=', 'contact'), ('parent_id', '!=', False)]}"
options="{'create_name_field': 'city', 'no_open': True, 'no_create': True}"
placeholder="City completion"
class="oe_edit_only" />

Loading…
Cancel
Save