Skip to Content
Menu
This question has been flagged

I have a custom menu item like :

menuitem id="some_id" groups="base.group_user"  parent="stock.stock_menu_root" sequence="150" name="My Menu"


I want to hide this menu if user is not in "stock.quant" model and view type is not list.

Means that when user will be in stock.quant list view, this menu should appear, otherwise it should not.

More precisely, it should be something like. (hide if view_id != stock.some_view_id)

Any help?

Avatar
Discard
Related Posts Replies Views Activity
2
May 15
3698
0
Dec 16
3511
2
Jan 24
14554
0
Dec 24
40
4
Dec 21
22710