Hi guys,
I spend my morning to find out:
- how to disable the Inventory tab from the products form?
I already managed to hide the tab "Sales" and "Purchase", but the tab "Inventory" I could not hide.
here my source code from xml view file:
< xpath expr="//page[@name='inventory']" position="attributes">
< attribute name="attrs">{'invisible': [('inventory', 'in', service)]}< /attribute>
< /xpath>
https://pastebin.com/imQug9Pb
Would anyone give me some tips?
Thanks