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.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Comptabilitat
- Inventari
- PoS
- Project
- MRP
This question has been flagged
1
Respondre
4472
Vistes
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...
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Registrar-seRelated Posts | Respostes | Vistes | Activitat | |
---|---|---|---|---|
|
3
de nov. 24
|
30056 | ||
|
1
de des. 21
|
2779 | ||
|
0
de des. 21
|
2333 | ||
|
0
d’abr. 15
|
4665 | ||
|
2
de març 15
|
10454 |