|
@ -8,11 +8,20 @@ |
|
|
<field name="arch" type="xml"> |
|
|
<field name="arch" type="xml"> |
|
|
<field name="street2" position="after"> |
|
|
<field name="street2" position="after"> |
|
|
<field name="zip_id" |
|
|
<field name="zip_id" |
|
|
|
|
|
options="{'create_name_field': 'city'}" |
|
|
on_change="onchange_zip_id(zip_id)" |
|
|
on_change="onchange_zip_id(zip_id)" |
|
|
placeholder="City completion" |
|
|
placeholder="City completion" |
|
|
attrs="{'invisible': [('use_parent_address','=',True)]}" |
|
|
attrs="{'invisible': [('use_parent_address','=',True)]}" |
|
|
/> |
|
|
/> |
|
|
</field> |
|
|
</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)]}" |
|
|
|
|
|
/> |
|
|
|
|
|
</xpath> |
|
|
</field> |
|
|
</field> |
|
|
</record> |
|
|
</record> |
|
|
</data> |
|
|
</data> |
|
|