You create accounts for new employees and wonder how to avoid a situation where the administrator knows users' passwords? This is one of the most common security questions about Odoo. In this article, we show how to make every user set their own password at first login, what mechanisms the standard system offers (including the latest Odoo 19), and how to complement them with best practices.
If you want to try the steps described here on your own database, start a free Odoo trial.
Does Odoo have a "change password at first login" option?
In standard Odoo, you won't find a checkbox like "user must change password after first login," familiar from some directory systems. Instead, Odoo offers a different, more secure approach: the user sets their own password using a one-time link from the invitation. So there is no temporary password that needs to be changed, and the administrator never learns the employee's password. In practice, we get the same effect, or even a better one.
This way, you don't have to hand over temporary login credentials to anyone, send passwords by email, or store them in spreadsheets.
Method 1: email invitation for a new user
This is the basic and recommended method. When you create a user with an email address but without setting a password, Odoo sends them a message with an invitation link. After clicking it, the user defines their own password and only then can log in. The prerequisite is a correctly configured outgoing mail server.
Step by step
- Go to Settings → Users & Companies → Users.
- Click New and fill in the name and a valid email address (login).
- Assign the appropriate access rights and access groups.
- Do not enter any password. Save the record.
- Make sure the invitation has been sent. If needed, use the button to send the invitation by email on the form of a user who has not logged in yet.
We described the detailed account creation process in the article How to Create New Users in Odoo: Step-by-Step Guide.
What does the user see?
The employee receives a message with a link. After opening it, they land on a page where they enter a new password and confirm it. The link has a limited validity period and stops working after use, which further increases the level of security. If the link expires, simply send the invitation again.
Method 2: resetting the password of an existing user
What should you do if the account already exists and you want the user to set their own new password? You can send them password reset instructions.
- Open the user form in the Settings → Users & Companies → Users menu.
- Click the button that sends password reset instructions.
- The user will receive an email and set a new password via a secure link.
Keep in mind that the current password remains valid until the user sets a new one via the link. If you suspect the password has been compromised, first restrict access to the account, and only then send the reset.
An administrator can also change a user's password manually. However, this is an emergency measure and is not recommended for standard employee onboarding, because the administrator then learns the password. You can find more about this in the post How to Change a User Password in Odoo 19: Step-by-Step.
Implementing a consistent password policy in a larger organization can be complex, so it is worth consulting specialists. Write to us, and we will help you choose a solution that fits your company.
Password policy: minimum length
The fact that users set their own passwords is only half the success. The other half is password quality. In Odoo's settings, you can define a minimum password length, which the system will enforce whenever a password is set or changed.
- Go to Settings → General Settings.
- Find the Permissions section and the Password Policy option.
- Set the minimum password length. The default is 8 characters, and for greater security we recommend 12 or more.
- Save your changes.
From now on, every user who sets a password from an invitation link must meet the requirements. Odoo also shows a password strength indicator, which helps choose a more secure string of characters. The change applies to new and changed passwords; it does not force a change of existing passwords.
Additional account security
Two-factor authentication
After the password is set, encourage employees to enable two-factor authentication (2FA) in the user's Preferences, on the account security tab. Even if the password leaks, access to the account remains protected by the second factor.
Login via an external provider
If your company uses centralized identity management, passwords can be managed outside Odoo. In that case, you enforce password change rules on the identity provider's side. See how to configure this in the articles How to Set Up LDAP and Active Directory in Odoo: Guide and Google Sign-In in Odoo 19 – OAuth Configuration.
Access rights and groups
Secure login is just the beginning. A new user should have only the permissions they need. The guide below will help you with that: Odoo Roles and Access Rights – Complete Guide and the post How to Set Up User Groups in Odoo: Step-by-Step Guide.
Best practices
- Don't set passwords for users. Use email invitations.
- Use company email addresses and check that Odoo's outgoing mail works correctly, because without it invitations won't arrive.
- Set a minimum password length before creating accounts in bulk.
- Enable 2FA for administrators and users with access to financial data.
- Deactivate unused accounts. We describe how to do this in the article How to Deactivate a User Account in Odoo 19: Step-by-Step.
Enforcing periodic password changes
Standard Odoo does not include a mechanism for automatically expiring passwords after a set number of days. If your company's security policy requires this, it can be implemented through a dedicated module or integration with an external identity system (SSO). Modern security guidelines, in fact, place more emphasis on long passwords and 2FA than on regular password rotation. Implementing such a solution requires needs analysis and testing, so it is worth entrusting it to an experienced partner.
FAQ – frequently asked questions
Can you force a password change at first login in Odoo with a single switch?
There is no such switch by default. However, the result is the same if you create a user without a password and send an invitation. The user sets their own password right away, and the administrator doesn't know it.
What should I do if the user did not receive the invitation?
Check that the email address is correct, the spam folder, and the outgoing mail server configuration in Odoo. Then resend the invitation from the user form or send password reset instructions.
Can I set a minimum password length?
Yes. In General Settings, in the Permissions section, you can enable the password policy and set a minimum length. Odoo will enforce it whenever a password is set or changed.
Does Odoo automatically force a password change every few months?
No. The standard version does not have password expiration. Such a feature can be added using a dedicated module or an external identity provider.
Summary
Although Odoo does not offer a classic "change password after first login" option, an email invitation and password reset let you achieve the same goal in a more secure way. Combine them with a minimum password length policy, two-factor authentication, and sensible assignment of access rights, and your user accounts will be well protected.
Need help with implementation?
The KK Innovations team will help you configure users, access rights, and a security policy in Odoo tailored to your company. Contact us, and we will prepare a custom-made solution.