Skip to Content
Menu
This question has been flagged
2 Replies
3490 Views

how to add fields in mrp.bom.line:

what will the xpath....


<xpath expr="//field[@name='product_id']" position="after">
</xpath>
is not working?


Avatar
Discard
Best Answer

Hi, 

 just use <xpath expr="//tree/field[@name='product_id']" position="after">

or 


<xpath expr="//field[@name='bom_line_ids']/tree/field[@name='product_id']" position="after">
Avatar
Discard
Best Answer


Hi ,

you can use chropath and xPathfinder of chrome addons for better expressions.


Avatar
Discard