DEV Community

Jeevachaithanyan Sivanandan
Jeevachaithanyan Sivanandan

Posted on

Odoo : move a field using xpath

If you are working in Odoo, often you will have the situation to move fields from one place to other.

here is the quick snippet to do it

<xpath expr="//field[@name='targetfield']" position="before">
                    <field name="the_field_to_be_moved"
                           position="move"/>
               </xpath>
Enter fullscreen mode Exit fullscreen mode

Top comments (0)