Odoo Help


3 Answers

Yenthe Van Ginneken Belgium

--Yenthe Van Ginneken--
| 9 9 12
Turnhout, Belgium
--Yenthe Van Ginneken--

Yenthe Van Ginneken Belgium
7/28/15, 9:38 AM

Hi Yves,

If you're talking about calling superuser rights for another user through Python:

self.sudo()   # This will use the SUPERUSER_ID by default
# or

There is some documentation about this, which you can find here: http://odoo-new-api-guide-line.readthedocs.org/en/latest/environment.html 
If you're talking about creating a new user, from the view, you should simply create a new user and grant it all rights under settings > users.


1 Comment
Ygol InternetWork, Yves Goldberg Israel
7/28/15, 2:36 PM

Thank you Yenthe

Yves Goldberg Israel
7/28/15, 9:39 AM

answer: I think that superuser user rights are granted when user_id = 1

1 Comment
Oocademy, Yenthe Van Ginneken Belgium
7/28/15, 9:42 AM

If you're talking about the absolute admin account you're correct. It has user_id 1 and a lot is based on this.

sharjeel ali shaukat Pakistan
7/28/15, 9:38 AM

in Settings-->Users

There is a drop down against Administration set that drop down to Settings

Following change will set user to superuser

Ask a Question
Keep Informed
2 follower(s)
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.

Odoo Training Center

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

Test it now