If you want to make security system in OpenERP(Odoo) follow the below mentioned code and paste it in your ir.model.access.csv file:
"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
Note-> Security systems are usually inserted CSV files inside modules. It is also possible to restrict access to specific,fields on a view or object using the field's groups attribute.
0 Comment(s)