跳至内容
菜单
此问题已终结
2 回复
3388 查看

Sometimes, you don't need to completly hide a field for a user, but just don't let him modify it, and for a group of users, thus for other users ( managers ) can modify this field. 

形象
丢弃
最佳答案

Reciently there has been some discussion of this on the odoo email list.

形象
丢弃
最佳答案

Hello Yassine,

You can use record rules. Give only read access to normal user and for manager give all read, write, create, delete.

You can find document for creating record rule : http://odoo-80.readthedocs.org/en/latest/reference/security.html

Hope it helps!

形象
丢弃

Record rule can be apply on whole record not particular field, Question is about field.

相关帖文 回复 查看 活动
3
11月 16
7389
1
3月 23
2354
2
9月 22
4023
0
3月 19
2724
1
3月 15
6588