|
@ -9,7 +9,7 @@ |
|
|
<field name="arch" type="xml"> |
|
|
<field name="arch" type="xml"> |
|
|
|
|
|
|
|
|
<xpath expr="/form/sheet//div/field[@name='street']" |
|
|
<xpath expr="/form/sheet//div/field[@name='street']" |
|
|
position="replace"> |
|
|
|
|
|
|
|
|
position="after"> |
|
|
<div> |
|
|
<div> |
|
|
<field name="street_name" style="width: 80%%" |
|
|
<field name="street_name" style="width: 80%%" |
|
|
placeholder="Street..." |
|
|
placeholder="Street..." |
|
@ -21,9 +21,13 @@ |
|
|
/> |
|
|
/> |
|
|
</div> |
|
|
</div> |
|
|
</xpath> |
|
|
</xpath> |
|
|
|
|
|
<xpath expr="/form/sheet//div/field[@name='street']" |
|
|
|
|
|
position="attributes"> |
|
|
|
|
|
<attribute name="invisible">1</attribute> |
|
|
|
|
|
</xpath> |
|
|
|
|
|
|
|
|
<xpath expr="//form[@string='Contact']/sheet/group/div/field[@name='street']" |
|
|
<xpath expr="//form[@string='Contact']/sheet/group/div/field[@name='street']" |
|
|
position="replace"> |
|
|
|
|
|
|
|
|
position="after"> |
|
|
<div> |
|
|
<div> |
|
|
<field name="street_name" style="width: 80%%" |
|
|
<field name="street_name" style="width: 80%%" |
|
|
placeholder="Street..." |
|
|
placeholder="Street..." |
|
@ -33,6 +37,10 @@ |
|
|
/> |
|
|
/> |
|
|
</div> |
|
|
</div> |
|
|
</xpath> |
|
|
</xpath> |
|
|
|
|
|
<xpath expr="//form[@string='Contact']/sheet/group/div/field[@name='street']" |
|
|
|
|
|
position="attributes"> |
|
|
|
|
|
<attribute name="invisible">1</attribute> |
|
|
|
|
|
</xpath> |
|
|
|
|
|
|
|
|
<xpath expr="//field[@name='child_ids']" position="attributes"> |
|
|
<xpath expr="//field[@name='child_ids']" position="attributes"> |
|
|
<attribute name="context">{'default_parent_id': active_id, 'default_street_name': street_name, 'default_street_number': street_number, 'default_street2': street2, 'default_city': city, 'default_state_id': state_id, 'default_zip': zip, 'default_country_id': country_id, 'default_supplier': supplier, 'default_customer': customer, 'default_use_parent_address': True}</attribute> |
|
|
<attribute name="context">{'default_parent_id': active_id, 'default_street_name': street_name, 'default_street_number': street_number, 'default_street2': street2, 'default_city': city, 'default_state_id': state_id, 'default_zip': zip, 'default_country_id': country_id, 'default_supplier': supplier, 'default_customer': customer, 'default_use_parent_address': True}</attribute> |
|
|