Odoo Help


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.


How define Exclusive Groups

Vasiliy Birukov
on 3/25/13, 7:32 AM 1,724 views

Is it possible make exclusive roles for users?

For example. We have object, that contain two fields: FIELD1 and FIELD2. Need two group: GROUP1 and GROUP2.

GROUP1 can view FIELD1, but can't view FIELD2. GROUP2 can view FIELD2, but can't view FIELD1. How define such groups?

Because if GROUP2 don't inherit GROUP1 or vice versa then it display in "Settings/Users/Users/Access Rights" like options, but not like roles (selection).

Chetan Dhaduk
On 3/25/13, 9:51 AM


I think define your question you need to field level security. When you are creating FIELD1 then give him access right groups="GROUP1" Like that : <field name="FIELD1" groups="GROUP1"/> <field name="FIELD2" groups="GROUP2"/> Using that GROUP1 can access only FIELD1 and GROUP2 can access only FIELD2.

Thank You, Chetan Dhaduk(SerpentCS Pvt. Ltd.)

But if GROUP2 inherit GROUP1 then it inherit access to FIELD1.

Vasiliy Birukov
on 3/27/13, 1:21 AM

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

0 follower(s)


Asked: 3/25/13, 7:32 AM
Seen: 1724 times
Last updated: 10/29/15, 1:42 PM