Aura Odoo Tech · Supports: Odoo 19Community
Odoo 19 sign-in, reimagined
Premium Login: PIN, Pattern & Text Lock
A split-screen login page that follows your brand colour, and a sign-in method chosen per user: password, quick PIN, phone-style unlock pattern or text lock.
✓ Four sign-in methods, picked per user from the Security tab
✓ PIN, pattern and text lock are stored hashed, never as plain text
✓ Checked on the server: only the configured method signs in
✓ Lock after repeated failures (5 tries / 10 minutes by default)
✓ Light and dark mode, phone layout, follows the company colour
Odoo webOPL-1No extra Python packagesAura Odoo Tech

4
sign-in methods
4-8
digit quick PIN
3 x 3
unlock pattern grid
5
failed tries before a lock (configurable)
What you get
Everything on one login page
Nothing to install besides the module: the standard Odoo web login stays the base.
1
User choice
Each user signs in the way that feels natural. An administrator (or the user, after an identity check) picks the method from the user's Security tab.
2
Phone-like pattern
Draw across a 3 x 3 grid with the mouse or a finger. Crossing a dot you skipped includes it automatically, like on a phone. At least four dots.
3
Quick PIN
A 4 to 8 digit PIN with an on-screen keypad and filled-dot display. Digits only; anything else you type is dropped.
4
Text lock
A memorable phrase for people who prefer words to digits. Case sensitive, with a show/hide switch on the login page.
5
Hashed secrets
PINs, patterns and text locks are hashed with Odoo's own password hashing context. The plain value is never stored, and nobody can read the hashes through the ORM.
6
Server-side checks
The browser tab is only a convenience: Odoo checks which method the user is configured for. A PIN for a pattern user, or a password for a PIN user, is refused.
7
Lock after failures
Repeated wrong PINs, patterns or text locks lock that credential for a while, and the counter survives the failed request. Attempts and minutes are settings.
8
Brand and dark mode
The brand panel uses the company colour (the text colour switches to dark on light colours). Follows the OS dark mode, with a toggle, and collapses to one column on phones.
9
Settings
General Settings gets a Premium Login block: enforcement, lock rules, minimum lengths, brand panel on/off and its two texts.
See it in action
The login page
Real captures from an Odoo 19 database.

The login page
Split screen: brand panel on the left, the method selector and form on the right. The accent is the company colour.

Quick PIN
Filled dots show how many digits are in; the keypad works with touch and mouse, the keyboard works too.

Unlock pattern
Drawn from 1 to 3 to 9: the dots in between (2 and 6) are included automatically.

Text lock
A phrase instead of digits, with a show/hide switch.

Dark mode
Follows the operating system, and the round button top right switches it by hand.

On a phone
The brand panel shrinks to a header bar and the form takes the full width. The pattern grid is drawn with a finger; the page does not scroll sideways.
Back office
Set up in a minute

On the user
The Security tab shows the current method and the credentials saved. Administrators see Set up on every user; users see it on their own record.

Draw it twice to confirm
The setup dialog asks for the new credential twice. Several credentials can be kept and switched between without typing them again.

Quick PIN setup
Leave the field empty to keep the PIN already saved. The dialog opens only after the administrator or the user confirms their own password.

Settings
General Settings > Premium Login: enforcement, lock rules, minimum lengths and the brand panel.
How it works
Four steps
1
Install
Add the module to the addons path and install it from Apps. It depends only on the Odoo web and settings modules.
2
Open a user
Settings > Users, open the user and go to the Security tab. Press Set up under Premium Login and confirm your password.
3
Pick the method
Choose PIN, pattern or text lock and enter it twice. Tick "Also allow the password on the login page" if the user should keep both.
4
Sign in
On the login page choose the same method, enter the email and the credential, press Log in.
Questions
Good to know
What if someone forgets their PIN or pattern?
The regular password is untouched. An administrator opens the user, presses Set up and picks Password or a new credential. "Remove saved credentials" clears them all.
Can scripts and API clients still use the password?
Yes. The login page rule applies to the interactive login only; RPC with a password and the identity check in the backend keep working. PINs, patterns and text locks are refused over RPC on purpose, because they are short.
How safe is a 4 digit PIN?
It is a convenience credential. It is hashed, checked on the server and locked after repeated failures, but it has far fewer combinations than a password. Raise the minimum length in the settings, or keep the password for sensitive accounts.
Does two-factor authentication still apply?
The module reports the standard multi-factor setting back to Odoo unchanged, so the normal second step is not skipped by design. We have not run it together with the two-factor module in the test database.
What has been tested?
Python tests for hashing, enforcement, lock and the setup dialog, JavaScript unit tests for the pattern grid, and a real browser pass of the login page (all four methods, dark mode, phone width), the setup dialog and the settings on Odoo 19.
What has not?
The standard /web/login page was tested. Website-themed login pages, the sign-up and reset-password pages, and portal accounts were not tested, and the pattern grid is drawn by pointer: there is no keyboard way to draw it (use the PIN or password then).
Technical
At a glance
Technical name
aura_premium_login
Odoo version
19.0
Depends on
web, base_setup
Adds
Fields on res.users, a hidden credential model, a setup dialog, a pattern field widget, a login page interaction
Storage
Hash only, using the database's configured password hashing context
License
OPL-1
Support
Questions or a bug? Write to us and include your Odoo version and what you saw.
odooaura@gmail.comMore from Aura Odoo Tech
Other Odoo apps and themes from the same author.
www.auraodoo.tech| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 1551 |
| Technical Name |
aura_premium_login |
| License | OPL-1 |
| Website | https://www.auraodoo.tech |
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