Odoo Help
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.
OpenERP 7.0 : Employee fields restriction in edit
When an employee edits his/her information I want to restrict certain fields not to edit by employee (but can be editable by ADMIN).
Hi,
You could use the "read" and "write" attributes on field definition, like this one:
_columns = {
'credit_limit': fields.float(string='Credit Limit',
read=['base.group_sale_salesman'],
write=['base.group_sale_manager']),
This will create a field named credit_limit
that will be readable by users belonging to base.group_sale_salesman
and writable only by base.group_sale_manager
users...
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.
RegisterOdoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.
Test it nowQuestion tools
Stats
Asked: 3/12/13, 2:28 AM |
Seen: 2068 times |
Last updated: 3/16/15, 8:10 AM |