Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2931 Visualizzazioni

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
2
mag 15
4210
0
dic 16
4651
2
gen 24
15591
0
dic 24
1153
4
dic 21
23981