Login as User - Impersonate User with Audit Log
by Modvanta https://modvantaapps.tech/odoo-apps/impersonate-user/$ 8.97
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 IP1 click to log in as a user | 30 min default time limit | 5 end reasons logged | $9 one-time price |
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. |
| 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. |
| 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. |
| 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. |
| 5Details of one session |
| Each line opens to the full record. The log is read-only for everybody, administrators included. |
![]() 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. |
| 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. |
| 8Settings |
| Time limit in minutes, reason required or not, and whether administrators may be impersonated. |
![]() Login as User settings. |
Everything included
|
|
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 reason | Ask for a reason before every Login as; stored in the audit log. |
| Allow Login as administrators | Off by default. When on, only administrators may log in as another administrator. |
| Never allow Login as | A checkbox on each user (Login as tab) that protects that user from everybody. |
| Login as User group | Who may use the feature at all. Without it the button is hidden and the server refuses. |
FAQ
Compatibility
Built and tested on Odoo 19.0 Community; it only uses standard web and settings code that is the same in Enterprise.
EMAIL |
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 |
| License | OPL-1 |
| Website | https://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