Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
2766 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
4
thg 5 24
46197
0
thg 8 16
2985
2
thg 9 22
4022
0
thg 3 19
2724
0
thg 4 16
5073