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

Good day , I built and install a custom module in Odoo v8 , which I can access if I'm logged as an Administrator user .The problem is that when entering Odoo with any user other than Administrator the module not appear.

In what maner I can give privileges to users to use my module ?? Or what I have to do to show my module at all?

Thanks!




Imagine profil
Abandonează
Cel mai bun răspuns

Hi,

To make it visible for other users you have to define Access rights for your model.

Each access right is associated to a model, a group (or no group for global access), and a set of permissions: read, write, create, unlink. Such access rights are usually created by a CSV file named after its model: ir.model.access.csv.

Create a folder named "security"  in your module and inside that create ir.model.access.csv file:-

and there you can define your Access rights.

Eg code:-

id,name,model_id/id,group_id/id,perm_read,perm_write,perm_create,perm_unlink
access_idea_idea,idea.idea,model_idea_idea,base.group_user,1,1,1,0
access_idea_vote,idea.vote,model_idea_vote,base.group_user,1,1,1,0


Hope this helps.




Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
3
mai 24
15223
0
mar. 16
3229
1
mar. 15
4306
3
iul. 25
2061
3
mai 25
3617