Odoo Help

0

User Authorisation

By
shafeequemonp
on 7/4/14, 12:32 AM 769 views

I had created a module for providing user authorisation for my parent module.I had created 'csv' file for  doing that.My aim is to make the customer menu 'read,write,create' access but not 'delete' for a user.For that me created a code shown below.

id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink

access_res_partner_admin_staff,"res.partner admin staff",base.model_res_partner,group_admin_staff,1,1,1,0

But unfortunately every read,write,create and delete options were working.(while looking access rights for the specified user,there the access rights were correct as me given).Can anyone help me to fix the problem...!!

0
Turkesh Patel (tpa)
On 7/4/14, 3:11 AM

In record Rules there will be given access for delete so remove delete access from record rule after that it will work properly as per your expectation.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 7/4/14, 12:32 AM
Seen: 769 times
Last updated: 3/16/15, 8:10 AM