Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
6653 Vizualizări

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

Imagine profil
Abandonează
Cel mai bun răspuns


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

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
nov. 20
6129
2
dec. 23
14521
0
oct. 23
33
3
oct. 23
788
1
oct. 23
569