How to Reset a User Password in Odoo
Three methods for resetting user passwords in Odoo — self-service email reset, admin reset via Settings, and direct database reset for locked-out administrators. Verified for Odoo 18 & 19.
Password resets in Odoo fall into three distinct scenarios: a user who has forgotten their password and can access the login page, an administrator resetting another user's password through the backend, and an administrator who has lost access to the Odoo admin account entirely. Each scenario uses a different method.
Method 1 — Self-Service Password Reset (Login Page)
Any user who can reach the Odoo login page can request a password reset email. This method requires that the Odoo instance has an outgoing mail server configured and that the Reset Password option is enabled.
- Go to the Odoo login page (your instance URL, e.g. `https://yourcompany.odoo.com`).
- Click "Reset Password" below the login form.
- Enter the email address associated with the account and click Send Reset Link.
- Check the inbox for the reset email. Click the link and set a new password.
Method 2 — Admin Reset via Settings → Users
An Odoo administrator can send a password reset email to any user, or set a new password directly, without the user initiating a request. This is the standard method for onboarding new users or helping a user who is locked out.
- Navigate to Settings → Users & Companies → Users.
- Search for and open the user whose password needs resetting.
- Click the Action menu (⚙ gear icon) at the top of the user form and select "Send Password Reset Email". Odoo sends a reset link to the user's email address.
- Alternatively, to set the password directly without sending an email: click the Action menu → "Change Password". Enter the new password in the dialog and confirm.
| Option | How it works | When to use |
|---|---|---|
| Send Password Reset Email | Odoo sends a time-limited reset link to the user's registered email address. The user sets their own new password. | User knows their email address and can access it. Preserves the user's autonomy over their own password. |
| Change Password (direct set) | Administrator sets the new password immediately. No email is sent. User can log in with the new password right away. | User cannot access their email, or the outgoing mail server is not configured. Common during initial onboarding. |
| Deactivate then reactivate user | Archive the user record to revoke all sessions, then unarchive and use Change Password to set a fresh credential. | User account is suspected to be compromised, or the user has active sessions that must be terminated before the reset. |
Method 3 — Reset the Administrator Password When Locked Out
If the only administrator account's password has been lost and there is no other admin user, the password must be reset at the database or shell level. This requires server access and is specific to self-managed Odoo installations (on-premise or self-managed VPS). Odoo Online and Odoo.sh customers must contact Odoo Support for this scenario.
Option A — Reset via Odoo Shell
# Start the Odoo shell for your database
# Replace <db_name> with your actual database name
odoo shell -d <db_name>
# Inside the Odoo shell (Python REPL):
# Find the admin user record
admin_user = env['res.users'].search([('login', '=', 'admin')])[0]
# Set the new password
admin_user.write({'password': 'your_new_secure_password'})
# Commit the change
env.cr.commit()
# Exit
exit()Option B — Reset via PostgreSQL (when Odoo shell is not accessible)
# Connect to PostgreSQL as the odoo user
psql -d <db_name> -U odoo
-- Find the admin user ID
SELECT id, login, active FROM res_users WHERE login = 'admin';
-- The password hash in res_users is managed by Odoo's ir.rule system.
-- The safest way to force a reset via SQL is to clear the password
-- so Odoo prompts for a new one, then use Method 2 above.
-- Direct password hash injection is version-sensitive and not recommended.
-- Instead: set a temporary password using Odoo's built-in hash function.
-- This query works in Odoo 16, 17, 18, 19:
UPDATE res_users
SET password = crypt('your_temp_password', gen_salt('bf'))
WHERE login = 'admin';
-- Exit psql
\qUser Access Rights — Quick Reference
While managing user passwords, it is useful to understand Odoo's user type hierarchy. Each type determines what a user can access and which settings are relevant to their account.
| User type | Access level | Password reset method | Notes |
|---|---|---|---|
| Administrator | Full access to all Settings menus including Technical | Self-service or another admin using Method 2. If sole admin: Method 3. | There must always be at least one active internal user with Administrator rights. Odoo prevents removing the last admin. |
| Internal User | Access to modules granted by their group permissions | Self-service (if enabled) or admin via Method 2. | Most employees are Internal Users. They see only the apps and menus their access groups allow. |
| Portal User | Access to the customer/vendor portal only (orders, invoices, support tickets) | Self-service via "Forgot Password" on the portal login page. | Portal users do not consume an Odoo user licence. They cannot access the backend. |
| Public User | No login. Read-only access to public website pages. | Not applicable — no credentials. | Public User is a virtual user record used by Odoo's website module for anonymous visitors. |
Version Notes and Spot-Check Guide
| Odoo version | Self-service toggle location | Admin reset path | Notable change |
|---|---|---|---|
| Odoo 15 / 16 | Settings → General Settings → Permissions | Settings → Users & Companies → Users → Action menu | No notable changes between 15 and 16 for password reset flow |
| Odoo 17 | Settings → General Settings → Permissions | Settings → Users & Companies → Users → Action menu | No changes to password reset. Two-factor authentication (2FA) became more prominent in user security settings. |
| Odoo 18 | Settings → General Settings → Permissions | Settings → Users & Companies → Users → Action menu | No changes. Verified June 2026. |
| Odoo 19 | Settings → General Settings → Permissions | Settings → Users & Companies → Users → Action menu | No changes. Verified June 2026. |
Need help managing users and access rights on your Odoo system?
iWesabe's Odoo support team handles user management, access group configuration, and security audits for Saudi and Bahrain businesses.
Frequently Asked Questions
Where is the password reset option in Odoo 19?
How do I reset an Odoo password without sending an email?
How do I reset the Odoo admin password if I am locked out?
Why is the "Reset Password" link not showing on the Odoo login page?
Can I reset an Odoo portal user's password?
How do I enable two-factor authentication (2FA) for Odoo users?

iWesabe Editorial Team
Practitioner insights on Odoo ERP, ZATCA compliance, and Saudi enterprise digital operations — written by iWesabe's consulting, finance, and engineering teams.
Related Articles
How to Configure Email in Odoo
A complete guide to setting up outgoing and incoming mail servers in Odoo — covering SMTP, Gmail, Microsoft 365, catch-all aliases, and email deliverability best practices.
Odoo ERP Data Security for Saudi Businesses: PDPL, NCA ECC, and the 2026 Bar
Audit-ready data-security architecture for Odoo ERP in Saudi Arabia — PDPL lawful basis, NCA Essential Cybersecurity Controls, NDMO data classification, hosting decisions, identity, and incident response.
Best Odoo ERP Software Provider in Saudi Arabia: 7 Buyer-Diligence Markers (2026)
What separates an audit-defensible Odoo partner from a sales pitch: certification chain, named-client references, regulatory depth (ZATCA / GOSI / PDPL), Arabic-hours support, commercial model, methodology, and exit clause — with the red flags to watch for.