Odoo Help


Odoo code to create a field readonly to other groups.

on 9/8/16, 11:30 PM 572 views

Hi to all,

I have a editable tree view ,I created a (level 1 group) and (level 2 group)  and I also created (level 1 field) and (level 2 field) , I want to read only the (level 2 field)  when a user from (level 1 group) currently loggin.

If can someone can help me,

Thanks a lot.

Emanuel Cino
On 9/9/16, 5:06 AM

In the xml of your view you can add the attribute groups="xml_id_of_your_group" in order to make that field only visible to certain groups.

About This Community

This platform 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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 9/8/16, 11:30 PM
Seen: 572 times
Last updated: 9/9/16, 5:06 AM