Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
2800 Tampilan

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

Avatar
Buang
Jawaban Terbai

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

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
4
Mei 24
46290
0
Agu 16
3024
2
Sep 22
4084
0
Mar 19
2769
0
Apr 16
5116