|
|
@ -11,13 +11,13 @@ |
|
|
|
<field name="zip_id" |
|
|
|
options="{'create_name_field': 'city', 'no_open': True, 'no_create': True}" |
|
|
|
placeholder="City completion" |
|
|
|
class="oe_edit_only" /> |
|
|
|
class="oe_edit_only" attrs="{'readonly': [('type', '=', 'contact'),('parent_id', '!=', False)]}" /> |
|
|
|
</field> |
|
|
|
<xpath expr="//field[@name='child_ids']/form//field[@name='city']" position="before"> |
|
|
|
<field name="zip_id" |
|
|
|
options="{'create_name_field': 'city', 'no_open': True, 'no_create': True}" |
|
|
|
placeholder="City completion" |
|
|
|
class="oe_edit_only" /> |
|
|
|
class="oe_edit_only" attrs="{'readonly': [('type', '=', 'contact'),('parent_id', '!=', False)]}" /> |
|
|
|
</xpath> |
|
|
|
</field> |
|
|
|
</record> |
|
|
|