コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
13073 ビュー

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

関連投稿 返信 ビュー 活動
0
12月 24
1136
0
9月 24
1136
1
3月 21
2334
2
12月 24
1406
1
5月 24
1057