Skip to Content
Menu
This question has been flagged
1 Reply
3353 Views

hi all,

I have inherited 'sales order' from 'sales' and i need to remove 'Other Information' tab from 'sales order'.

i tried using <xpath>

<xpath expr="//notebook/page[2]" position="replace">
<attribute name="invisible"></attribute>
</xpath>

and

 <xpath expr="/form/sheet/notebook/page[2][@string= 'Other Information']" invisible="1"></xpath>    
these two are not working. Can anyone send the proper xpath to remove tab?


Avatar
Discard
Best Answer

Just do a small change in you code...

<xpath expr="//notebook/page[2]" position="attributes">
<attribute name="invisible">True</attribute>
</xpath>

 

Avatar
Discard
Author

@Jusab Sida Thank you, it worked

you were very close :) Enjoy