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.

1

How could I change the group of a user?

By
aneesh ATEES Infomedia Pvt Ltd
on 3/13/15, 4:35 AM 470 views

Hi,

I need to change current users group when clicks a button.

I need to change current group to another group when the user clicks a button.

Thanks a lot for your respose.

 

0

Serpent Consulting Services Pvt. Ltd.

--Serpent Consulting Services Pvt. Ltd.--
4341
| 6 6 8
Gandhinagar, India
--Serpent Consulting Services Pvt. Ltd.--

Serpent Consulting Services Pvt. Ltd. Your Odoo/OpenERP Solution, just an email away!

Serpent Consulting Services Pvt. Ltd.
On 8/17/15, 5:30 AM

Aneesh,

You simply should use write() of res.users and change group_ids field!

Thanks.

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: 3/13/15, 4:35 AM
Seen: 470 times
Last updated: 8/17/15, 5:30 AM