Login As Another User | Impersonate User | Switch User
by Steven Marp https://apps.odoo.com/apps/browse?repo_maintainer_id=512936$ 20.13
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 271 |
| Technical Name |
sm_login_as |
| License | OPL-1 |
| Website | https://apps.odoo.com/apps/browse?repo_maintainer_id=512936 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 271 |
| Technical Name |
sm_login_as |
| License | OPL-1 |
| Website | https://apps.odoo.com/apps/browse?repo_maintainer_id=512936 |
Login As Another User
Instantly switch to any user account without knowing their password â perfect for testing, debugging & support
Watch It In Action
See how easy it is to configure hide action rules in under 1 minute.
Key Features
Login As Any UserSwitch to any user account instantly â internal users, portal users, or any other user type. No password required. |
One-Click Switch BackA yellow "Switch Back" button appears in the top bar when impersonating. Return to your admin account in one click. |
User Form ButtonA "Login As" stat button on each user form â open a user profile and click to instantly switch to their account. |
Wizard ModeOpen the "Login As" wizard from the menu â select a user from a searchable dropdown, optionally filter by access group. |
System Admin OnlyOnly users in the Settings (System) group can use Login As. Regular users never see the menu or buttons. |
Audit TrailEvery login-as switch is logged in the server log with timestamps, admin name, and target user â full accountability. |
How It Works
|
1
Select a UserOpen the Login As wizard from the menu, or click the "Login As" button on any user's form. |
2
Browse as That UserYou are now logged in as the selected user. See exactly what they see â menus, permissions, data access. |
3
Switch BackClick the yellow "Switch Back" button in the top bar to return to your admin account instantly. |
Standard Odoo vs This Module
| Feature | Standard Odoo 18 | With This Module |
|---|---|---|
| Login as any user | ||
| No password needed | ||
| Switch back to admin | ||
| Login As button on user form | ||
| Filter users by access group | ||
| Systray indicator when impersonating | ||
| Audit trail in server log |
Why This Module?
Test Permissions InstantlyVerify that access rights, menus, and record rules work correctly for any user â without logging out and back in. |
Faster User SupportSee exactly what a user sees. Reproduce issues, fix configurations, and resolve tickets without asking for screenshots. |
Secure & ControlledOnly system administrators can use Login As. All switches are logged. Session tokens are securely recomputed. |
Lightweight & CleanOnly depends on the web module. No bloat, no unnecessary dependencies. Uses the same pattern as Odoo's own /web/become. |
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