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

Hi,
I want to display Groups in the settings menu without debug mode.
How can I do that?

With debug mode:


Without debug mode:

아바타
취소
베스트 답변

Hi,
To show the menu always without enabling the debug mode, just you need to remove the technical features user group from the menu.

* Activate the developer mode
* Navigate to Settings -> Technical -> User Interface -> Menu items 
* Search for Groups and open it
* Remove Technical Features group from the Groups.





Now the menu will be visible always.

You can achieve the same from the code side also.







Thanks

아바타
취소
작성자

How can achieve the same from the code side?

<record id="external_id_of_the_menu" model="ir.ui.menu">
<field name="groups_id" eval="[(3, ref('base.group_no_one'))]"/>
</record>

작성자

Do we need to inherit and then change!

yes, you can add the above code in your custom module,

작성자

Thanks, Niyas

베스트 답변

The solution from Stanislav should be the "Best Answer"!

Adding visibility to a user group is more consistent. Niyas' solution only works until the next update or upgrade of the "Base" module (could be also solved by adding "set no update to true")

아바타
취소
베스트 답변

Hi go to Groups settings and for the group add menu :) 


아바타
취소
관련 게시물 답글 화면 활동
4
4월 24
2942
4
5월 25
2588
2
5월 25
5982
2
4월 25
2907
5
3월 25
19121