Odoo Help

0

How to check User accessright in XMLRPC ?

By
Shivam
on 5/23/16, 7:18 AM 598 views

I want to just check user access right  of user from the xmlrpc

ids = models.execute_kw(dbname, uid, pwd,

'res.users', 'user_has_groups',

{'groups_id' : hr_manager_group_id})

print "@@@@@@@@@@@", ids

i try this type but i failed to output

i want to check user has Manager, Employee or Officer in HR from xmlrpc

please reply as soon as possible...

when i will try from admin user it will chekc if i try with manager and user it will give me some error

for access right

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 5/23/16, 7:18 AM
Seen: 598 times
Last updated: 5/23/16, 7:26 AM