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.
| Odoo | 17.0, 18.0, 19.0, 20.0 |
| Editions | Community, Enterprise |
| Works with | Base, Web and Discuss (mail) |
| Licence | OPL-1, 9 EUR |
| Tests | 15 automated, run on every version |
| Module | user_ |
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
Getting started
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
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
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.
Fine print
Log
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
Also by Awins
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