<form string="Contact" version="7.0">
<header>
<field name="state" widget="statusbar" statusbar_visible="draft,assigned,cancel"/>
</header>
<notebook>
<page string="Contact Details">
<group>
<group col="4" colspan="2">
<label for="name" class="custom_allign"/>
<div>
<field name="name"/>
</div>
<label for="phone_no" class="custom_allign"/>
<div>
<field name="phone_no" class="oe_inline"/>
</div>
</group>
<group col="6" colspan="2">
<label for="dob" class="custom_allign"/>
<div>
<field name="dob"/>
</div>
<label for="date" class="custom_allign"/>
<div>
<field name="date"/>
</div>
</group>
<group col="4" colspan="2">
<label for="address1" class="custom_allign"/>
<div>
<field name="address1"/>
</div>
<label for="address3" class="custom_allign"/>
<div>
<field name="address3"/>
</div>
</group>
</group>
</page>
Based on above code using xpath how to set address1 field after address2 ?
<<field name="address1" position="after">
<label for="address2"/>
<field name="address2"/>
</field>
The above code added before div tag using xml how to set above code