Tested and working on Odoo Version 16.
How to move an existing fields from one place to another in a form. In this quick tip, we are moving the field 'ref' from the misc position to Contact name field after.
The code to do this as below
<xpath expr="//span[@name='address_name']" position="before" >
<field string="Reference" name="ref" required ="1" readonly="True"/>
</xpath>