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

I have create a new model : test.test 

How Can I add userrights to the existing usergroup = sale - see all leads,

so that this user can see my model?


Thanks

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

Try this, it may help you

in security /  ir.model.access.csv ,
add following csv,

id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_test_test_sale_all_leads,access.test.test.sale.all.leads,model_test_test,base.group_sale_salesman_all_leads,1,1,1,1

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
4
พ.ค. 24
46331
0
ส.ค. 16
3032
2
ก.ย. 22
4102
0
มี.ค. 19
2785
0
เม.ย. 16
5153