Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
13071 Переглядів

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.

Аватар
Відмінити

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

Similar solution

Найкраща відповідь

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

Аватар
Відмінити
Найкраща відповідь

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

Аватар
Відмінити
Автор

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

Related Posts Відповіді Переглядів Дія
0
груд. 24
1133
0
вер. 24
1134
1
бер. 21
2333
2
груд. 24
1403
Tie product to lead Вирішено
1
трав. 24
1053