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.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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.
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
Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!
Aanmelden| Gerelateerde posts | Antwoorden | Weergaven | Activiteit | |
|---|---|---|---|---|
|
0
dec. 24
|
1705 | |||
|
0
sep. 24
|
1733 | |||
|
1
mrt. 21
|
2882 | |||
|
2
dec. 24
|
2192 | |||
|
Tie product to lead
Opgelost
|
1
mei 24
|
1386 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.
http://help.openerp.com/question/19972/how-to-implement-typical-security-rule-to-user-group/?answer=19975#post-id-19975
Similar solution