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:
- 客户关系管理
- e-Commerce
- 会计
- 库存
- PoS
- Project
- MRP
此问题已终结
1
回复
4515
查看
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...
相关帖文 | 回复 | 查看 | 活动 | |
---|---|---|---|---|
|
3
11月 24
|
30188 | ||
|
1
12月 21
|
2898 | ||
|
0
12月 21
|
2394 | ||
|
0
4月 15
|
4746 | ||
|
2
3月 15
|
10536 |