Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
13028 Vizualizări

I have get the current user group( Like manager etc.)

I have two group.(salesman,Manager).

User A gives a Manager group. User B gives a Salesman.

When B login so we retrive group.

How this possible.

Imagine profil
Abandonează

http://help.openerp.com/question/19972/how-to-implement-typical-security-rule-to-user-group/?answer=19975#post-id-19975

Similar solution

Cel mai bun răspuns

Hi, in your .py file, you could doing this : groups_id = self.pool.get('res.users').read(cr, uid, uid)['groups_id']

Hope this could help..

Imagine profil
Abandonează
Cel mai bun răspuns

help.openerp.com/question/19972/how-to-implement-typical-security-rule-to-user-group/?answer=19975#post-id-19975

Imagine profil
Abandonează
Autor

Thanks but in this code, "user.group_ids:" not found

Related Posts Răspunsuri Vizualizări Activitate
0
dec. 24
1094
0
sept. 24
1105
1
mar. 21
2308
2
dec. 24
1356
1
mai 24
1019