Skip to Content
Menu
This question has been flagged
2 Replies
2642 Views

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 ' ) ] }" / >

Avatar
Discard
Best Answer

You can get your answer here-

https://www.odoo.com/forum/help-1/question/make-field-readonly-based-on-group-58921

Avatar
Discard
Best Answer

Hello Ariosto,

You can use group 'base.group_no_one' to make field as readonly.

Avatar
Discard