Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I am using openerp-7 and now want to specify readonly permission for some fields to specific users and write only permission for other users.can i do that in model fields.can i give 'readonly' and 'writeonly' permissions for certain users for these model fields.
Hi, You can give rights to the user group. You do this on your python file, like this:
'employee': fields.char(string='Employee name',read=['base.group_sale_salesman'],write=['base.group_sale_manager'])
This will give group_sale_salesman read-only permissions, and group_sale_manager write permissions...
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
|Asked: 4/24/14, 2:17 AM|
|Seen: 940 times|
|Last updated: 3/16/15, 8:10 AM|