Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Artificial Intelligence
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries ⟶
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    • Affiliate Program
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Extra Tools
  3. Password Policy | Odoo Password Complexity, History and Expiry | Strong Password Rules | Password Reuse Block v 19.0
  4. Sales Conditions FAQ

Password Policy | Odoo Password Complexity, History and Expiry | Strong Password Rules | Password Reuse Block

by CODEerts https://www.codeerts.com
Odoo

$ 25.00

v 19.0 Third Party
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Versions 19.0 20.0
You bought this module and need support? Click here!
Versions 19.0 20.0
  • Description
  • Manifest
  • License
CODEerts
Password PolicyPassword Policy
Security: stronger passwords, renewed on time

Character rules, no reuse and password expiry for Odoo.

Three settings next to Minimum Password Length. Ask for a mix of character types, refuse the user's recent passwords, and send internal users to the change password dialog when their password gets too old.

✓Character types: lowercase, uppercase, digit, symbol
✓No reuse of the last 1 to 10 passwords
✓Expiry after the number of days you set
✓Never locks anyone out: the dialog opens at login
Odoo 19·Community & Enterprise
Change password dialog shown at login because the password has expired
3
rules in General Settings
10
previous passwords at most
4
character types to choose from
0
users locked out
​What this module does​

Three rules beside the minimum length

Odoo checks how long a password is. This checks what is in it, whether it was used before, and how old it is.

​
01

Character types

What a password contains.

​
Minimum types. Require 2, 3 or 4 of lowercase, uppercase, digit and symbol.
​
Strength meter. The meter in the password field shows the rule while the user types.
​
One message. A password too short and too simple gets both reasons at once.
​
02

History

No going back.

​
Recent passwords. The current one and up to the last 10 are refused.
​
From day one. The current password is checked even before any history exists.
​
Private. Only hashes are kept, in a table no user can read.
​
03

Expiry

Renewed on time.

​
After N days. Internal users with a local password are asked for a new one.
​
At login. The login works and opens the change password dialog.
​
Two factor. The code step still comes first for users who have it.
​see it in action​

From the settings to a renewed password

Every picture is the real module on a demo database.

Password policy settings in General Settings

Three settings

Character types, password history and password expiry, next to Minimum Password Length.

Change password dialog at login

An expired password

Sara's password is 100 days old, so her login opens the change password dialog.

Error message for a password without enough character types

Too simple

A password with only lowercase letters and digits is refused.

Error message for a reused password

Used before

Her current password cannot be chosen again.

​how it works​

Three steps to a password policy

​
1
​

Open General Settings

The rules sit next to Minimum Password Length.

​
2
​

Set the three rules

Character types, how many old passwords to refuse, and the number of days.

​
3
​

Let users log in

New passwords follow the rules, and old ones are renewed when they expire.

​Technical details​

What it needs, and what it never does

Version
19.0
License
OPL-1
Editions
Community & Enterprise
Dependencies
Password Policy, Signup (standard Odoo)

Requirements

✓Odoo 19, Community or Enterprise
✓Uses the standard password policy and signup modules
✓No new security groups
✓Technical name codeerts_password_policy

Rules

✓Character types and history apply to every user who sets a password
✓Expiry applies to internal users with a local password
✓Each rule is off at 0
✓Settings are kept per database
​good to know​

Frequently asked questions

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.

CODEerts
​The team behind this module​

About CODEerts

Full-Service Odoo ERP Company  ·  Solutions That Scale

Every module in our store is built from real client work, tested in production and maintained long-term by a team of experienced Odoo consultants. When you need more than an app, we deliver the full solution.

01
Implementation
Full Odoo roll-outs from requirements to go-live, across any industry and company size.
02
Custom Development
Bespoke modules, OWL components and business logic built precisely to your workflow.
03
Migrations
Zero-data-loss upgrades from older Odoo versions with full custom module porting.
04
Integrations
Payment gateways, shipping carriers, biometric devices, eCommerce and third-party APIs.
05
Odoo Audits
Performance, security and code-quality reviews that surface risks before they become problems.
06
Support & Training
Ongoing helpdesk, user training and monthly retainers so your team stays productive.
Odoo
Experts
6+
Years
150+
Projects
10+
Industries
250+
Published Apps
​CODEerts apps​

More from CODEerts

Other apps we build to make Odoo do more. Tap any card to open it on the Odoo Apps Store.

Archive AnythingFREE
Archive Anything
Transaction Flow VisualizerFREE
Transaction Flow Visualizer
Smart Mail RebrandFREE
Smart Mail Rebrand
Duplicate Record DetectorFREE
Duplicate Record Detector
AI Dashboard Builder
​
AI Dashboard Builder
Advance Payment Pro
​
Advance Payment Pro
Dual Book & Tax Depreciation
​
Dual Book & Tax Depreciation
Smart Duplicate Detector
​
Smart Duplicate Detector
See every CODEerts app on the Odoo Apps Store.
CODEerts
​Support​

Need Help?

Questions, customization requests, or bug reports. We respond fast.

Email Us
Support

CODEerts  ·  Response within 1-2 business days

Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Lines of code 203
Technical Name codeerts_password_policy
LicenseOPL-1
Websitehttps://www.codeerts.com
Odoo Proprietary License v1.0

This software and associated files (the "Software") may only be used (executed,
modified, executed after modifications) if you have purchased a valid license
from the authors, typically via Odoo Apps, or if you have received a written
agreement from the authors of the Software (see the COPYRIGHT file).

You may develop Odoo modules that use the Software as a library (typically
by depending on it, importing it and using its resources), but without copying
any source code or material from the Software. You may distribute those
modules under the license of your choice, provided that this license is
compatible with the terms of the Odoo Proprietary License (For example:
LGPL, MIT, or proprietary licenses similar to this one).

It is forbidden to publish, distribute, sublicense, or sell copies of the Software
or modified copies of the Software.

The above copyright notice and this permission notice must be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with