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. Administration
  3. Login as User - Impersonate User with Audit Log v 19.0
  4. Sales Conditions FAQ

Login as User - Impersonate User with Audit Log

by Modvanta https://modvantaapps.tech/odoo-apps/impersonate-user/
Odoo

$ 8.97

v 19.0 Third Party
Apps purchases are linked to your Odoo account, please sign in or sign up first.
You bought this module and need support? Click here!
  • Description
  • Manifest
  • License
Login as User - Impersonate User with Audit Log

Login as User - Impersonate User with Audit Log

Open a user, press Login as, and see Odoo exactly as that user sees it - menus, records, access rights. A red banner stays on screen with a Back to my account button, a time limit sends you back automatically, and every session (and every refused attempt) is written to an audit log.

Login as buttonList actionBack to my accountTime limitDedicated groupAdmins protectedNo rights escalationReason requiredPOST + CSRFAudit log with IP
Buy Now - $9Ask a Question
Written and supported by Modvanta - modvantaapps@gmail.com
1 click
to log in as a user
30 min
default time limit
5
end reasons logged
$9
one-time price
Safe by design, not only by button visibility
Hiding a button is not security. Every rule below is checked again on the server when the switch happens, the switch itself is a POST request protected by a CSRF token, and a refused attempt is logged with the reason. The module uses standard Odoo only: no outside service, no password is ever read or changed.

What it does

Support teams and administrators often need to see what a user sees: a missing menu, a record rule that hides an order, a report with the wrong figures. Without this module you have to ask for the password or rebuild the rights by hand. With it, a member of the Login as User group opens the user, gives a reason if your settings ask for one, and works as that user. The session goes back to the original account with one click, at logout, or when the time limit is reached. The audit log keeps who did it, as whom, when, for how long, from which IP address and browser, why, and how it ended.

Who it is for

Support and helpdesk
Reproduce what the user reports in their own screens instead of guessing from screenshots.
Administrators and partners
Check new access rights, record rules and menus as the real user before go-live.
Auditors and managers
Read a complete trail of every Login as, including refused attempts, that nobody can edit or delete.

Key Features

Every screenshot below was taken on a test database running the module.

1Login as button on the user form
Members of the Login as User group get a Login as button in the user form header. It is hidden for yourself, archived users and portal users.
The Login as button on a user form.
The Login as button on a user form.
2A short confirmation with a reason
The dialog says what will happen and how long the session lasts. The reason (ticket number, request) can be made required in Settings and is stored in the log.
Confirming Login as with a reason.
Confirming Login as with a reason.
3A clear banner and Back to my account
While you work as the user, a red banner at the bottom shows who you are logged in as, who you really are and the minutes left. One click on Back to my account returns you to your own session.
Working as Marc Demo in CRM, banner at the bottom.
Working as Marc Demo in CRM, banner at the bottom.
4Audit log of every session
Who, as whom, start, end, duration, IP address, browser, reason and end reason: back to my account, time limit reached, logged out, session abandoned or replaced. Refused attempts are logged too.
The Login as Audit Log.
The Login as Audit Log.
5Details of one session
Each line opens to the full record. The log is read-only for everybody, administrators included.
One Login as session.
One Login as session.
6Administrators are protected
By default nobody can log in as an administrator. If you allow it in Settings, only administrators can, and a non-administrator can never log in as a user who has rights they do not have.
Login as an administrator is refused.
Login as an administrator is refused.
7Also from the users list
Select one user in the list and choose Login as in the Actions menu.
Login as in the Actions menu of the users list.
Login as in the Actions menu of the users list.
8Settings
Time limit in minutes, reason required or not, and whether administrators may be impersonated.
Login as User settings.
Login as User settings.

Everything included

Login as button on the user form and in the users list Actions menu
Dedicated "Login as User" group: being an administrator is not enough
Back to my account button in a banner on every screen
Navbar marked while you work as another user
Time limit (default 30 minutes), checked by the server on every request
Abandoned sessions closed by a scheduled action
Administrators cannot be impersonated unless a setting allows it
Only administrators may impersonate administrators
No rights escalation: non-administrators only reach users with fewer rights
Users can be marked "Never allow Login as"
Never for portal users, the superuser, archived users or yourself
No Login as from inside a Login as session
Start and end are POST requests checked with a CSRF token
Another login in the same browser never gets the original account back
Optional required reason, stored in the log
Audit log: who, as whom, when, duration, IP, browser, reason, end reason
Refused attempts logged with the refusal message
Log read-only for everybody; members see their own sessions, administrators all

How it works

1
Give the right
Open the user, Access Rights tab, and set Login as User to Allowed (the admin user gets it at install).
2
Login as
Open a user, press Login as, give a reason. You now see Odoo as that user.
3
Go back
Press Back to my account, log out, or let the time limit end the session.
4
Review
Settings > Users & Companies > Login as Audit Log shows every session.

Settings

Time limit (minutes)After this many minutes the session goes back to the original account on the next request. Default 30, from 1 to 1440.
Require a reasonAsk for a reason before every Login as; stored in the audit log.
Allow Login as administratorsOff by default. When on, only administrators may log in as another administrator.
Never allow Login asA checkbox on each user (Login as tab) that protects that user from everybody.
Login as User groupWho may use the feature at all. Without it the button is hidden and the server refuses.

FAQ

Do I need the password of the user?
No. The module switches the session on the server after checking your rights. No password is read, shown or changed.
What is recorded under which name while I work as the user?
Everything you do is done as that user, exactly as if they did it - that is the point of seeing their Odoo. The audit log tells you who was really behind each session and when.
Can a portal user use it to reach the backend?
No. Only internal users in the Login as User group can start a session, and portal users cannot be the target either.
What happens if I close the browser?
The session ends at the time limit on the next request, and a scheduled action closes the log line as Session abandoned.
Who can read the audit log?
Members of the Login as User group see their own sessions; administrators see all of them. Nobody can edit or delete a line.

Compatibility

Odoo 19CommunityEnterpriseOn premiseOdoo.sh

Built and tested on Odoo 19.0 Community; it only uses standard web and settings code that is the same in Enterprise.

See Odoo through your users' eyes, safely
Login as with a banner, a time limit and a complete audit log.
Buy Now - $9Hire Me for Odoo Work
EMAIL
modvantaapps@gmail.com
AUTHOR
Modvanta
INCLUDED
Group, banner, time limit, audit log

Support: modvantaapps@gmail.com - questions before buying are welcome.

Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 695
Technical Name mdv_impersonate_user
LicenseOPL-1
Websitehttps://modvantaapps.tech/odoo-apps/impersonate-user/
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