I want to show a field read-only
for all users of group named Manager
(having read and update rights for that model). They must not be able to update a field called 'x_name'.
I am using odoo web client (Gui) and don't have access of xml file. I am only able to use the GUI so please suggest a solution for working this out through GUI.
Go to Settings -> User Interface -> Views and create a view, give it the following contents:
So what happens here is that the above view gets activated only when the user belongs in
groups_id
more here.