Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
3390 มุมมอง

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.

Related Posts ตอบกลับ มุมมอง กิจกรรม
3
พ.ย. 16
7391
1
มี.ค. 23
2354
2
ก.ย. 22
4024
0
มี.ค. 19
2725
1
มี.ค. 15
6588