Odoo Help

Welcome!

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

0

How to check User accessright in XMLRPC ?

By
sarkar
on 5/23/16, 7:18 AM 287 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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

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