Tools app for Odoo
Password Policy
Require several character types in every password, stop users reusing their recent passwords, and ask internal users for a new password after a number of days.

Overview
Password Policy.
Odoo only lets you set a minimum password length. Password Policy adds three rules next to it in General Settings. Minimum character types asks for a mix of lowercase letters, uppercase letters, digits and symbols, and the strength meter shows the rule while the user types. Password history refuses one of the user's last passwords, up to ten. Password expiry takes an internal user to the change password dialog at login once their password is older than the number of days you set. The rules apply wherever a password is set, including invitations and password resets.
How it works
Built around what you actually do.
Every screen below is the module running in Odoo, not a mockup.
01
Minimum character types: lowercase, uppercase, digit, symbol
- The password strength meter shows the character rule
- Password history: the last 1 to 10 passwords cannot be reused

02
The current password can never be set again, even right after install
- Password expiry after a number of days, for internal users
- An expired user is taken to the change password dialog at login

03
Two factor authentication still runs before the dialog
- Rules apply to the user form, change password dialogs, invitations and resets
- Old password hashes are kept unreadable, even to administrators

Password Policy adds character, history and expiry rules to Odoo passwords.
What it does
Odoo only checks the length of a password. Password Policy adds three settings next to Minimum Password Length in General Settings: how many character types a password must contain, how many previous passwords a user may not reuse, and after how many days an internal user must choose a new one.
The rules apply wherever a password is set: the user form, the change password dialogs, invitations and password resets. When a password is too old, the user still logs in normally and lands on the change password dialog, after two factor authentication if they use it.
- Character types. Require two, three or all four of lowercase, uppercase, digit and symbol. The strength meter shows the rule as the user types. - No reuse. The current password and up to the last 10 are refused. - Expiry. Internal users are asked for a new password after the number of days you set. - Never locks anyone out. An expired password still logs in, then asks for a new one. - Private history. Only hashes are kept, in a table no user can read.
Who it's for
Companies with a security policy or an audit to pass, IT teams that need password rotation on their Odoo database, and any business that wants stronger passwords than a minimum length.
Questions
About Password Policy.
How do I force users to change their password every 90 days in Odoo?
Install Password Policy and set Password Expiry to 90 in General Settings, next to Minimum Password Length. Once an internal user's password is older than that, their next login opens the change password dialog.
Can a user keep working without changing an expired password?
The login itself is never blocked, so nobody is locked out. The user lands on the change password dialog, and the rules for character types and history apply to the new password they choose.
Which passwords does the history rule compare against?
The current password and up to the last 10 previous ones, as many as you set. Only password hashes are stored, in a table no user can read, not even an administrator.
Do portal users have to renew their password?
No. Expiry applies to internal users with a local password. Character types and history apply to everyone who sets a password, including portal users and password resets.
Does it work with two factor authentication?
Yes. A user with two factor authentication enters their code first, then sees the change password dialog.
Does it work on Community and Enterprise?
Yes. It depends only on standard Odoo password and signup modules that ship with both.
On the Odoo Store
Get Password Policy on the Odoo Store.
Pick your Odoo version and install it in a click, with free updates and real support behind it.
Get it on the Odoo StoreReady to make Odoo work the way your business does?
Book a free callCODEerts is a team of certified Odoo partners and full-stack engineers. We implement, customise and support Odoo ERP, then build the software around it.