Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
12980 Widoki

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.

Awatar
Odrzuć

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

Similar solution

Najlepsza odpowiedź

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

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Autor

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

Powiązane posty Odpowiedzi Widoki Czynność
0
gru 24
1068
0
wrz 24
1086
1
mar 21
2283
2
gru 24
1319
1
maj 24
1010