Superuser and admin

Odoo has a default “admin” account as standard (with a default password, which you should definitely change on any production database).

  1. In Odoo 11 and earlier, “admin” was automatically a “superuser“. In Odoo 12 and later, it needs to be activated (see below).
  2. 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.
  3. 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:

  1. “Administration / Access Rights” to setup users
  2. “Administration / Settings” to setup users and change system settings

Super User

There are several ways to (temporarily) become a “superuser”:

  1. In Developer mode, an admin user (in the Admin / Settings group) can click on the “Become Superuser” option in the developer menu. 
  2. In Developer mode, click on “Login as superuser” in the login screen.  
  3. 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.

Record Rules

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.

Technical information

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.

12 thoughts on “Superuser and admin

      1. Haha, I searched a long time and it was that simple ^^
        Thanks a lot ! and thanks for the (very) fast reply !

        Like

  1. 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

    Like

    1. 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)

      Like

  2. 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?

    Like

    1. 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).

      Like

  3. How is the original “Admin” account identified on Odoo.Sh when you have several system administrator users

    Like

    1. This is explained above. The standard admin account has UID=2, others will not. This should be no different in odoo.sh

      Like

      1. No. I suppose there must be a way of solving it in the back-end but I never go there!

        Like

Leave a comment