콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다

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?

아바타
취소
관련 게시물 답글 화면 활동
2
5월 15
4211
0
12월 16
4651
2
1월 24
15595
0
12월 24
1154
4
12월 21
23984