Odoo Help

2 Answers

Francesco OpenCode

--Francesco OpenCode--

| 6 8 9
Grottaglie, Italy
--Francesco OpenCode--

Italian Odoo (OpenERP) Modules Developer LINKEDIN: http://www.linkedin.com/in/francescoapruzzese

Francesco OpenCode
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:

4/19/13, 8:18 AM

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

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

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

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

Done.Try the code in my comment.

4/22/13, 4:48 AM

thanks friend.its sorted :-)

Contador Loja
7/24/14, 7:18 PM

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

Ask a Question
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.

Odoo Training Center

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

Test it now