Can we give permission for a group for editing only a single field in that model? None of the other fields shouldn't be edited..
5 Câu trả lời
You can give permission for a group for editing only single field of model by defining :
<field name="Field_Name" groups="Group_Name">
Like that your group user can edit only Field_Name field which have access right.
Thank You, (SerpentCS Pvt. Ltd.)
As I understand, you want to allow writing only to one field. Check this answer for information on how to control field access.
Another option is to override
write() methods to check the group and access fields upon writing.
Check this answer for general information about access control.
You can try
Only user belongs to GROUP_ID can change that field..
Regards, Mustufa Rangwala