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

HI All,


I defined my custom module.

In this module I defined a group "X"


<record id="group_custom_x" model="res.groups">
<field name="name">X</field>
<field name="category_id" ref="module_category_x"/>
</record>

<!-- Template Utente Cliente-->

<record id="custom_module_x_user_template" model="res.users">
<field name="name">Template X</field>
<field name="login">X USER</field>
<field name="active" eval="False"/>
<field name="groups_id" eval="[(6, 0, [ref('group_custom_x')])]"/>
</record>


I defined also ir.model.access.csv:

group_custom_x_res_partner,res_partner_group_custom_x,base.model_res_partner,group_custom_x,1,0,0,0

and
<record id="contacts.menu_contacts" model="ir.ui.menu">
<field name="groups_id" eval="[(4,ref('group_dashboard_client'))]"/>
</record>

It doesn't work
my only purpose is to create a user that can access and read "Contacts" menu.
I know that I can do it using "Employee" or "Contact creation" groups but I need to do it "from scratch"
Is there anyone that can help me?
아바타
취소
관련 게시물 답글 화면 활동
4
3월 20
24250
0
11월 15
5252
1
3월 15
5375
1
3월 15
8800
1
9월 17
4904