attrs query operator "contains" "not contains"
I want to set readonly attribute on field in a view. Let say it is Partner form and I don't want to change anything on General Tab in the form when user is not from Sales Team assigned to this Partner. It means all users have to see all Partner data (just see) and edit access is allowed only to members of Sales Team in the Partner (Sales Team is an "owner" of the partner)..
To not allow change for user other than Salesman (user_id) I can write:
attrs = ('readonly' :{'user_
What should I write to not allow changes for user from group other than Sales Team (section_id)?
It should look like:
attrs = ('readonly' :{'section_
But I never heard about such operator.
Has anything changes in 6.0 for such functionality or do you have any suggestion?
Thank you
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Grzegorz Grzelak (OpenGLOBE.pl) for more information if necessary.