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)

Heroku

Build apps, not infrastructure.

Dealing with servers, hardware, and infrastructure can take up your valuable time. Discover the benefits of Heroku, the PaaS of choice for developers since 2007.

Visit Site

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay