Odoo Help

Francesco OpenCode
On 4/19/13, 7:44 AM
  • id = unique identify for the permission (Example: MY_MODULE_res_partner_manager)
  • name = unique name for the permission (Example: res_partner manager)
  • model_id/id = the model unique name of the class you want apply permission on (Example model_res_partner)
  • group_id/id = group permission apply on (yopu can define it in xml group file or call an existing group with syntax module.group_id)
  • perm_read,perm_write,perm_create,perm_unlink = the 4 values for the relative permission to read, write,create,unlink record on defined class. 1 is True (you can do this action) and 0 is Faslse (you can't)

A simple way to understand this file is to read an existing csv in some OpenERP base module like sale, account, product, etc...

Some usefull link:

thanks Francesco Apruzzese. name means not a model name.? is it a user role name.?

on 4/19/13, 8:18 AM

name is a name that you associate with the record. It'a a mnemonic system to read the file, too.

Francesco OpenCode
on 4/19/13, 8:22 AM

Done.Try the code in my comment.

Francesco OpenCode
on 4/19/13, 8:37 AM

thanks friend.its sorted :-)

on 4/22/13, 4:48 AM
Contador Loja
On 7/24/14, 7:18 PM

permission_bpl_worker_manager,bpl_worker manager,model_bpl_worker,group_checkroll_manager,1,1,1,1

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


Asked: 4/19/13, 7:29 AM
Seen: 16881 times
Last updated: 12/3/15, 4:52 AM