Skip to main content

Allow admin to set password security requirements.

Project description

License: LGPL-3

Password Security

This module allows admin to set company-level password security requirements and enforces them on the user.

It contains features such as

  • Password expiration days
  • Password length requirement
  • Password minimum number of lowercase letters
  • Password minimum number of uppercase letters
  • Password minimum number of numbers
  • Password minimum number of special characters


# Navigate to company you would like to set requirements on # Click the Password Policy page # Set the policies to your liking.

Password complexity requirements will be enforced upon next password change for any user in that company.

Settings & Defaults

These are defined at the company level:

Name Default Description
password_expiration 60 Days until passwords expire
password_length 12 Minimum number of characters in password
password_lower True Require lowercase letter in password
password_upper True Require uppercase letters in password
password_numeric True Require number in password
password_special True Require special character in password
password_history 30 Disallow reuse of this many previous passwords
password_minimum 24 Amount of hours that must pass until another reset

Known Issues / Roadmap

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing detailed and welcomed feedback.



  • Odoo Community Association: Icon.



Odoo Community Association

This module is maintained by the OCA.

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

To contribute to this module, please visit

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Built Distribution

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page