Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
4507 Vistas

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.

Avatar
Descartar
Mejor respuesta

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...

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
3
nov 24
30161
1
dic 21
2886
0
dic 21
2387
0
abr 15
4739
2
mar 15
10527