콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
6816 화면

i installed odoo 12 in ununtu 18

 i created a custom module; When the normal user try to create record this access error will appears

Sorry, you are not allowed to access this document. Only users with the following access level are currently allowed to do that:
- Administration/Access Rights

(Document model: ir.rule) - (Operation: read, User: 6) 

i never used 'ir.rule' model 

record creation is permitted to only for Admin access rights

i need to create records for every logged users 

Please help me to fix this

Log :-

2019-10-21 12:29:19,276 8537 INFO test odoo.addons.base.models.ir_model: Access Denied by ACLs for operation:  read, uid: 6, model: ir.rule  

2019-10-21 12:29:19,278 8537 INFO test odoo.addons.base.models.ir_model: Access Denied by ACLs for operation: read, uid: 6, model: ir.rule

아바타
취소
베스트 답변


Please go through the below link.

\https://medium.com/@reedrehg/becoming-a-superuser-in-odoo-12-0-f6fc2de3a62e

If you are aware of the Odoo 10 and below versions, you will understand this.

Apart from all of this add access rights for newly creating classes in Odoo on file ir.model.access.csv.

For example:

id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_industry_section,access_industry_section,model_industry_section,base.group_user,1,1,1,1

In your case:

id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink access_test_test,access_test_test,model_test_test,base.group_user,1,1,1,1

아바타
취소
관련 게시물 답글 화면 활동
1
11월 20
6279
2
12월 23
14739
0
10월 23
33
3
10월 23
788
1
10월 23
569