I need that when a user other than the administrator enters the task can not change the date field , I used attrs does not work <Field name = " date_deadline " attrs = " { ' readonly ' : [( ' groups' , '=' , ' project.group_project_user ' ) ] }" / >
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
I need that when a user other than the administrator enters the task can not change the date field , I used attrs does not work <Field name = " date_deadline " attrs = " { ' readonly ' : [( ' groups' , '=' , ' project.group_project_user ' ) ] }" / >
You can get your answer here-
https://www.odoo.com/forum/help-1/question/make-field-readonly-based-on-group-58921
Hello Ariosto,
You can use group 'base.group_no_one' to make field as readonly.
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up