Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
6924 มุมมอง

I make module for workshop and this module do not have any access right and opened for all users and group but when some users enter to work on this module they can't see the main menu and sub menus for this module although I didn't add any access right for this module , 

please help me for this issue 

thank you so much

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi,

Add a security folder for your module with 'ir.model.access.csv' file :-

In that file you can define access right for your own objects(objects that you created)

For Eg: with following content- ( assume that your object name is " demo " )

id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink 

access_demo_users,demo.all.users,model_demo,base.group_user,1,1,1,1

->make sure you added that file path in " openerp.py " file


Hope this helps...

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi 

you can solve this directly without coding by access to ( settings > Groupe ) 

Hope this help

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
พ.ย. 17
6721
4
ก.ย. 17
25536
0
ก.พ. 16
5550
Many2one fields are not showing แก้ไขแล้ว
1
ม.ค. 16
4618
1
มี.ค. 15
8081