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
    • Artificial Intelligence
    • 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
    • Affiliate Program
    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. Login as User v 20.0
  4. Sales Conditions FAQ

Login as User

by Awins
Odoo

$ 9.86

v 20.0 Third Party
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Versions 16.0 17.0 18.0 19.0 20.0
You bought this module and need support? Click here!
Versions 16.0 17.0 18.0 19.0 20.0
  • Description
  • Manifest
  • License
Apps / Awins / user_impersonate_audit

Login as User

Open Odoo as another user for a limited time to see what they see, without their password, and keep a read-only log of who did it, as whom, from which IP and why.

Install›Configure›Use
/odoo/action-user_impersonate_audit.action_user_impersonate_log
Login as User in the Odoo backend
Odoo17.0, 18.0, 19.0, 20.0
EditionsCommunity, Enterprise
Works withBase, Web and Discuss (mail)
LicenceOPL-1, 9 EUR
Tests15 automated, run on every version
Moduleuser_impersonate_audit

The situation

A user writes that the Sales menu is gone, or that quotation S00042 does not show up in their list. To see it you ask for the password, rebuild their groups on a test user by hand, or share a screen. Standard Odoo has no supported way to look at the database as someone else, and a shared password leaves no trace of who used it.

With this module a member of Login as User / Allowed opens the user form, presses Login as, types a ticket number and works as that user for 30 minutes. A red banner and a systray button return you to your own account. Every session, and every refused attempt, is a line in the Login as Audit Log that nobody can edit or delete from the interface.

What it adds

Login as
Button on the user form and the list
The button opens a small dialog with the user and a reason. The same action is in the Actions menu of the Users list. Nothing is switched until the dialog is confirmed.
Without it: you reproduce the user's rights by hand on a test account.
Login as User / Allowed
Only a dedicated group may start
Being an Odoo administrator is not enough: the group is given to the admin user at install and nobody else. The server checks it again when the session switches.
Login as User / Administrators
Administrators are protected
Users in Settings, Access Rights or the Administrators group can only be impersonated by a member of Administrators. Archived, portal, public and system users, yourself, and users ticked Never Allow Login as, are always refused.
Block Rights Escalation
No more rights than your own
A member of Allowed who is not an administrator can only log in as users whose groups they all have. The refusal names the missing groups. Switch it off in Settings if your support team should see everybody.
Time Limit
The session ends on its own
30 minutes by default, 1 to 1440 in Settings. The server checks it on every request, not only the banner in the browser, and a scheduled action closes sessions nobody came back to.
Back to my account
Banner and systray button
A red bar at the bottom names who you are logged in as, who you really are and the time left. The systray button counts down and returns you with one click. A POST with a CSRF token ends the session.
Login as Audit Log
Who, as whom, when, from where
Start, end, duration, IP address, browser, reason, how it ended (back to my account, time limit, logged out, abandoned) and the refusal message. Filters: Active, Ended, Refused, Today, Last 7 Days, My Sessions; group by who, as whom, status or day.
Require a Reason
A ticket number every time
On by default. The reason is stored in the log. Optionally Email the Impersonated User queues a message with the name, the time and the reason.

Getting started

Install

Open Apps, clear the Apps filter, search for the module and click Activate. It depends on base, web and mail. The admin user is added to Login as User / Allowed at install; add other support users yourself.

Apps › user_impersonate_audit › Activate
Configure

Set the time limit, whether a reason is required, whether non-administrators are blocked from users with more rights, and the optional email to the user. Give the Allowed or Administrators role on the Access Rights tab of each support user.

Settings › General Settings › Login as User Settings for Login as User
Use

Open Settings › Users & Companies › Users, pick the user, press Login as and give the reason. Work as that user, then press Back to my account in the banner or the systray. The line appears in Settings › Users & Companies › Login as Audit Log.

The Login as dialog on the form of Marc Demo, with the ticket number as the reason.
The Login as dialog on the form of Marc Demo, with the ticket number as the reason.
Working as Marc Demo: the red bar names both accounts, and the systray button shows the time left.
Working as Marc Demo: the red bar names both accounts, and the systray button shows the time left.

Fine print

Does it ask for the other user's two-factor code?
No. You are logged in with your own password and your own two-factor check, and the module then switches the session on the server, so the other user's password and code are never asked. Their two-factor setting is not applied to your session. If that is not acceptable for some users, tick Never Allow Login as on them.
Is a password ever read, shown or changed?
No. The session is switched on the server after the rules are checked. The start link is a one-time token, valid two minutes, tied to your account, and only its hash is stored. The session id is renewed at the start and at the end, so the old cookie stops working.
What does the other user's chatter show of my work?
Standard Odoo records everything as the other user, because you are that user. The audit log tells you when you were logged in as them and from which IP, but it does not record the single actions. Use the time of a record against the log line to tell them apart.
Where can I run it?
On Odoo.sh and on your own server, Community or Enterprise, versions 17.0 to 20.0. Odoo Online doesn't accept third-party modules.
What doesn't it do?
It does not record what you do while logged in as someone, only the session. The other user's two-factor check is not asked, and the standard re-authentication dialog (for example when creating an API key) still wants that user's password, which you do not have. Portal and public users cannot be impersonated. The IP address is the one Odoo sees, so behind a reverse proxy without proxy mode it is the proxy's. The log cannot be edited in the interface, but a database administrator can still change the table.
Can you adapt it for us?
Yes. Email odoo.expert.111@gmail.com with your Odoo version and what you'd like changed.

Log

20.0.1.0.0 · Oct 2026
First release, published for Odoo 17.0 to 20.0.

Who should get the Allowed group?

Send us your Odoo version and how your support team is organised, and we will suggest how to give out the two groups.

Email odoo.expert.111@gmail.com
QR code: email Awins about this module

Also by Awins

Lock Product Quick Create Lock Product Quick Create product_quick_create_block
Portal Ship Date Portal Ship Date portal_shipment_eta_tracking
Month-End Close Checklist Month-End Close Checklist month_end_close_checklist
Awins builds small Odoo modules that do one job. user_impersonate_audit · 20.0.1.0.0
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Lines of code 617
Technical Name user_impersonate_audit
LicenseOPL-1
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