Odoo Help

4

How define Exclusive Groups

By
Vasiliy Birukov
on 3/25/13, 7:32 AM 2,302 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).

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

Hi,

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

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.

Register

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

0 follower(s)

Stats

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