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
    • Approvals
    • 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
    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 Toggle v 16.0
  4. Sales Conditions FAQ

Password Toggle

by Naim OUDAYET https://www.oudayet.com
Odoo

$ 4.97

v 16.0 Third Party
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 169
Technical Name no_password_toggle
LicenseOPL-1
Websitehttps://www.oudayet.com
Versions 16.0 17.0 18.0 19.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 169
Technical Name no_password_toggle
LicenseOPL-1
Websitehttps://www.oudayet.com
Versions 16.0 17.0 18.0 19.0
  • Description
  • License

Password Toggle

A show/hide eye-icon toggle on every Odoo password field — backend and login, zero configuration

Odoo 16 $5 USD Zero Config

Was That Password Right?

Standard Odoo password fields show only dots. Mistype a long API token, a special-character secret, or a paste with trailing whitespace and you'll only know after the save fails — or worse, after the integration silently breaks.

Without this module

••••••••••••

Type 32 characters, hope they're right, hit Save, hope the integration works. No way to verify visually.

With this module

sk-proj-aB3xYz 👁

One click on the eye icon and the value appears. Verify it. Click again to hide. Done.

Four Things It Does Well

Lightweight, focused, no configuration.

👁
Eye-Icon Toggle

Click to reveal, click to hide. The icon flips between fa-eye and fa-eye-slash so the current state is always obvious.

⚡
Zero Configuration

Install and every field with password="True" gets the toggle automatically. No XML to edit, no per-field setup.

🔒
Login Page Too

A separate publicWidget attaches the same toggle to the public login form. Users get the eye icon before they even sign in.

💫
Pure Frontend

An OWL patch() on the standard CharField component. No Python, no RPC, no database changes.

Read-only password fields stay read-only — the toggle only renders when the field is editable.

Real-World Scenarios

API key entry on Settings > Integrations

A 64-character Stripe / OpenAI / SMTP token is hard to verify in dots. The toggle lets the admin reveal it once before saving, catch a stray space, then hide it again.

Login page on a shaky keyboard

Mobile users, users with sticky keys, or users in a low-light setting can briefly toggle the password before pressing Log in — fewer wrong-password lockouts.

Custom modules with secret fields

Any custom field declared as password="True" in any module gets the toggle for free. No view extension, no widget rewrite.

Outgoing-mail SMTP password debug

Outgoing-server SMTP password not sending mail? Reveal it once, double-check it matches the provider, hide it back. Saves a support ticket.

How It Works

1
Patch CharField

An OWL patch() on CharField.prototype adds a reactive passwordState when props.isPassword is true.

2
Inject the toggle

A QWeb xpath inserts a <button> after the <input> with the FontAwesome eye icon — only when the field is editable.

3
Flip the input type

The click handler resolves the underlying <input> via three fallbacks and flips its type between text and password.

Installation

Two steps. No Python dependencies, no database migration, no configuration.

Step 1 - addons path

Drop the module in
cp -r no_password_toggle /path/to/addons/

Place the no_password_toggle folder in any directory listed in your Odoo addons_path.

Step 2 - in Odoo

Install the module

Apps menu → remove the Apps filter → search "Password Toggle" → Install. Every password field — backend and login — picks up the eye icon immediately.

Works With Every Password Field

No allow-list. No per-field setup. Anything declared password="True" on any model is covered.

User Passwords
SMTP / IMAP
API Tokens
Payment Gateways
Login Page
Any Custom Field

Non-password Char fields are unaffected — the patch only fires when props.isPassword is true.

What This Module Doesn't Do

Honest scope. Here's what's out of reach.

✗  Read-only fields

A password="True" field that's also readonly="True" is rendered as static text — there's no input to toggle.

✗  Custom widget overrides

If a field uses a non-CharField widget (e.g. widget="something_custom"), the patch never fires — only standard CharFields are extended.

✗  Server-side reveal

The toggle only switches the rendering of the value the user typed. It cannot reveal an already-saved password — Odoo hashes those server-side.

✗  Per-user opt-out

The toggle is shown to every user with edit access to the field. There's no per-user toggle to hide it (it auto-hides on read-only fields).

⚠  Other CharField patches

Two modules patching CharField.prototype coexist via super.setup(); only conflicts arise if both modify the same xpath inside the QWeb template.

⚠  Themed login pages

A theme that replaces oe_login_form entirely will need its own integration point. Standard login pages and Web Studio variants are covered.

🛡 A Note on What "Show" Means

The toggle flips the input type attribute between "password" and "text" — that's a pure browser-side render switch on the value the user has typed in this session. Nothing is unhashed, nothing is fetched from the server, and the original value is not stored anywhere new. When the field is saved, Odoo applies its usual hashing pipeline. If the field is later re-opened it shows blank dots like before. Treat the eye icon as "let me re-read what I just typed", not as "let me see what's already stored".

FAQ

Does this expose stored passwords?

No. The toggle only re-renders the value the current user typed during this edit session. Already-saved Odoo user passwords are hashed server-side and never returned to the client — there's nothing to reveal.

Does it work on the login page?

Yes. A separate publicWidget attaches to .oe_login_form on the public login page, since login pages don't load OWL.

Will it conflict with other modules that patch CharField?

Multiple modules can patch() CharField.prototype simultaneously — that's the supported pattern. The patched setup() calls super.setup() first so prior overrides keep working.

What about Odoo 16 / 17 / 18?

This branch targets Odoo 16. Earlier-version branches (16.0, 17.0, 18.0) ship the same module with version-appropriate adaptations to the OWL/asset framework. Each branch has its own JS test suite.

Is the toggle keyboard-accessible?

The button has aria-label="Toggle password visibility" and tabindex="-1" so it doesn't disrupt the form's natural tab order. Click and screen-reader access work; the keyboard tab path is unchanged.

Will this break with future Odoo updates?

It uses the public patch() utility on the standard CharField component. As long as CharField stays in the same module path with props.isPassword available, the module keeps working. The shipped JS test suite catches regressions on each version branch.

Technical Details

Module
no_password_toggle
Version
16.0.1.0.0
Depends on
web
Python deps
None (pure frontend)
License
OPL-1 (paid, $5 USD)
Mechanism
patch() on CharField.prototype + publicWidget on oe_login_form
Test coverage
QUnit JS suite (icon class + input resolution + visibility toggle) + HttpCase wrapper

Password Toggle - $5 USD, Odoo 16
© Naim OUDAYET - OPL-1 License

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