3665
How to Set Master Password in Odoo 16?
12 May, 2023
5 min read
3665
12 May, 2023
5 min read
Table of Content
Odoo ERP has turned into one of the most promising ERP systems we have today. In fact, it has one of the easiest interfaces and can be seamlessly used even with limited technical expertise.
The ease of use and high customization capabilities makes Odoo an interesting choice for small and medium-scale businesses that need to evolve with time. Understandably, the ERP system protects its applications and processes with a password to avoid unauthorized access.
That explains the use of a Master password in Odoo. But, what exactly is the master password? Is it the same as the Admin password? Or anything else?
How do we set the Master password? And why? Should you reach out to an Odoo development company or can perform the task yourself?
I will help you unravel these answers with the help of this blog!
Odoo Master Password is required when you are attempting to do anything with the database. Whether you are creating a new database, accessing an existing one, modifying a database, or restoring a database, you will have to provide this password to start the task.
If you are accessing a database for the first time, the Odoo interface will throw a warning asking you to set a master password to secure it. In the next window, you can either choose a password of your own and enter it or pick the default password shown there.
P.S.: Make a note of the password as you will need to enter the Master password every time you are trying to access the database.
If you think about how Odoo ERP works, you have 3 entities to think of:
Basically, you need three passwords to be able to work with Odoo seamlessly.
Here, the master password I am talking about is the password needed by administrators to access all the databases. This password is not shared with individual database administrators.
Now, let’s check how you can set it!
Master password is used to create a new database, backup database, or restore a new database. If the User has not set the master password yet, then the Odoo interface will show a warning as below.
Users can also add the master password from the Odoo addons.
For that, path of the file is: odoo/service/db.py
In that file function check_super:
User can set the master password in this function as below.
So while performing any functionality regarding the database, we have to use “admin” as a master password as the below image shows.
After that, you will be able to see the new database name here.
Setting up a Master password in Odoo is required so Administrators can access all the databases using a single password. With this blog post, you will be able to differentiate the Master Password from the Admin Password and learn the steps to set up Master Password in Odoo 16.
Concerned about the security of your Odoo ERP? You can talk to our Odoo developers and learn more about best security practices. Even get support for efficient ERP development as you hire dedicated Odoo developers from BiztechCS.
Flutter
News and Updates
65
By Biztech
26 Dec, 2024
Angular
115
By Biztech
24 Dec, 2024
Development
ERP
201
By Biztech
19 Dec, 2024