跳至內容
選單
此問題已被標幟
1 回覆
2760 瀏覽次數

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
4
5月 24
46165
0
8月 16
2981
2
9月 22
4004
0
3月 19
2715
0
4月 16
5055