Odoo has a default “admin” account as standard (with a default password, which you should definitely change on any production database).
- In Odoo 11 and earlier, “admin” was automatically a “superuser“. In Odoo 12 and later, it needs to be activated (see below).
- Also, the “admin” account used to be the only one that worked across multiple companies, which is both useful and dangerous. It was therefore recommended NOT to use the “admin” account to enter transactions.
- In Odoo 13, multicompany has been re-designed, so any account can access multiple companies and it should work properly.
- In all versions, the “admin” account is (by default) a member of all application security groups, which is another example of “useful but dangerous” (and should be used with care).
Admin (User setup and Settings)
The “admin” account is traditionally used for system admin, but any user can be added to one of the two user access groups:
- “Administration / Access Rights” to setup users
- “Administration / Settings” to setup users and change system settings
There are several ways to (temporarily) become a “superuser”:
- In Developer mode, an admin user (in the Admin / Settings group) can click on the “Become Superuser” option in the developer menu.
- In Developer mode, click on “Login as superuser” in the login screen.
- Or there’s a shortcut: http://your-domain/web/become
When “superuser” mode is enabled, the current user is shown as OdooBot, and the colors in the upper-right area change to yellow and black stripes.
You can’t (as far as I know) switch off “superuser mode”, so you have to log off.
Some Odoo documentation used to state that the “admin” account was not subject to Record Rules. This has now been corrected to say that in superuser mode you are not subject to Record Rules (as explained above, the two used to be the same thing).
The admin account is assigned to all access groups, but this can be changed.
In Odoo v11 and earlier, the “admin” user can be identified by
UID = 1
In version 12 this has changed to
UID = 2 and as superuser the account name changes to OdooBot and
UID = 1.
9 thoughts on “Superuser and admin”
Hello, how to disable the superuser mode once it’s activated ?
Good question! Seems that you have to logoff.
Haha, I searched a long time and it was that simple ^^
Thanks a lot ! and thanks for the (very) fast reply !
When I activate the super user mode
According to my knowledge it has the default password
The question is can anyone login with this account especially since the password was default and I cant change it
If i can change the password for this account please tell me
You should always change the password for the admin account. If you don’t, Odoo will remind you to change it!!
This is changed in the same way as for all accounts (click on Action and Change Password)
Is it possible for Admin/SuperUser to switch to any other normal users to verify if we (as Admin) have granted the right accessed to them?
It’s easy in odoo.sh with “Connect As” or I believe you can do it for self-hosted databases (but I’ve never done it).
How is the original “Admin” account identified on Odoo.Sh when you have several system administrator users
This is explained above. The standard admin account has UID=2, others will not. This should be no different in odoo.sh