Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

How to make a normal user can not edit the date field in the form of tasks in the project application

By
Ariosto
on 8/19/16, 6:00 PM 221 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 ' ) ] }" / >

0
Niraj Pajwani
On 8/22/16, 12:01 PM

Hello Ariosto,

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

0
Ajeet Yadav
On 8/20/16, 12:29 AM

You can get your answer here-

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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 8/19/16, 6:00 PM
Seen: 221 times
Last updated: 8/22/16, 12:01 PM