User Audit: login history, active sessions and change log
by Aerya IT Solutions https://aerya.net$ 31.78
Odoo 17, 18, 19 and 20, Community and Enterprise · Developed in the European Union by Aerya IT Solutions
Who logged in, from where, and what they changed
Login history with failed attempts, open sessions you can log out, and a change log of the models you choose with the old and new values. Automatic clean-up keeps the tables small.
Open sessions with a Log out button, per session or per user
Change log of creations, changes and deletions, model by model
Read-only evidence: nobody edits or deletes entries by hand
Runs on Odoo.sh and on-premise, not on Odoo Online (SaaS), where Odoo does not allow modules with Python code. Please buy the version that matches your database.
Screenshots of Odoo 17 Enterprise with the data of a fictitious company. The module works on Community and Enterprise.
failed and successful logins, sessions logged out over HTTP, change log values, chosen fields, passwords never logged, access, clean-up, browser tour
no warnings, on the four versions
Community and Enterprise
Login history
Every attempt is recorded, successful or not, with the typed login, the user, the IP address, the browser and the channel (web browser or API). Group by IP address to spot someone guessing passwords.

Sessions you can end
Each browser login opens a session in the list. An administrator logs it out with one click, or every session of a user with Log Out Everywhere on the user form: the next click of that browser goes back to the login screen. Only a hash of the session key is stored.

Change log with old and new values
Choose the models (and, if you like, the fields) to log. Creations, changes and deletions are recorded with the user, the date and readable values: names for linked records, labels for choices. Files, passwords, keys and tokens are never logged, and fields limited to some groups (salaries, for example) show that they changed, not their value. Auditors read the entries of their own companies.

Clean-up
Settings › User Audit: switch on the nightly clean-up and set how many days to keep logins and sessions and the change log (0 keeps them forever).

More screenshots

The change log

Change log rules per model

Sessions and Log Out Everywhere on the user form

The login history with the Spanish translation
How it works
Install the module: logins and sessions are recorded at once.
Add the models to log in User Audit › Configuration › Change Log Rules.
Give the Auditor group to the people who read the logs; switch on the clean-up in Settings.
Compatibility
| Versions | Odoo 17, 18, 19, 20 |
| Editions | Community and Enterprise |
| Hosting | Odoo.sh and on-premise (Python module) |
| Requires | Nothing beyond Odoo (base, web) |
| Languages | English, Spanish, Romanian, Dutch |
Good to know
Auditors read; administrators also configure and log sessions out. Changes made by automation are logged under the user who triggered them.
Not covered: the "last seen" time of a session; sessions that end by expiry stay "Open" in the list until the clean-up (Log Out Everywhere ends every session of a user, also older ones); logging the audit itself, attachments, mail messages, wizards or models that hold secrets (system parameters, mail servers, payment providers); lines deleted by the database with their parent. Auditors read every entry of their companies: give the group with care. Installing the module logs every user out once.
Explore our other apps
More modules by Aerya IT Solutions for Odoo 20, built to work together.
Questions or a custom quote?
Write to info@aerya.ro for questions about the module, its installation or custom development.
Developed in the European Union by Aerya IT Solutions, Odoo implementation and development. aerya.net
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 1163 |
| Technical Name |
aerya_user_audit |
| License | OPL-1 |
| Website | https://aerya.net |
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