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. User Audit & Sessions v 15.0
  4. Sales Conditions FAQ

User Audit & Sessions

by Odoo Mates
Odoo
v 15.0 Third Party 195
Download for v 15.0 Deploy on Odoo.sh
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Versions 15.0 16.0 17.0 18.0 19.0 20.0
You bought this module and need support? Click here!
Versions 15.0 16.0 17.0 18.0 19.0 20.0
  • Description
  • Manifest
100% Free Open source · LGPL-3 Odoo 15 Community

User Audit & Sessions

Who signed in, from where, and what they read, changed, exported, imported and printed, with the old and the new value of every change. Every open session of every user, and an End button on each. Installed and logging in one click: nothing to configure.

Sign-in historyFailed sign-insChanges with old and new valuesReads, exports, imports, printsActive sessionsEnd a sessionIdle sessionsSign-in emailsAutomatic clean-up

Completely free. Your feedback makes it better.

No paid edition, no limits: the code is open (LGPL-3). Every feature is covered by automated tests. Tell us what works, what does not and what you miss.

★ Rate it on the Apps store ✉ odoomates@gmail.com Ideas and issues on GitHub
What it records

Every sign-in, every change, every export

From the installation on, every operation of every user on your business data is logged, without any setting. Odoo's own work in the background is not: only what the users and their scripts do.

Sign-ins

Every sign-in, failed sign-in and sign-out, with the address and the browser. A failed sign-in is kept even though Odoo cancels everything else of the request. Sign-ins through the API are marked.

Changes

Every record created, edited or deleted, with the old and the new value of each field that changed: Phone: 111 → 222. A price, a salesperson, a status.

Reads

One line per screen opened or call made by a script (XML-RPC, JSON-RPC), with the number of records and their first ids.

Exports, imports, prints

The fields exported and how many records, the rows imported, the report printed and on which record.

Sessions

Every signed-in browser and device, with its address, country and city, first and last activity. End one session, or all those of a user.

Idle sessions and emails

Sign out a user idle for too long. An email on every sign-in, to the user, to the administrators or both, optionally only from a new device.

Rules

Log everything, or only what matters: some data, some operations, some users or groups.

Clean-up

The logs are deleted after the number of days you choose, the sign-ins after another, every night.

Reports

A list, a pivot and a graph of the logs, the activity and sessions of a user on their form, and a PDF of a period for the auditors.
The log

Every event, as it happens

Today's lines first: sign-ins, failed sign-ins, reads, changes, exports, prints, ended sessions. Filter by user, data, event or day, group them, or open the record a line is about.

The log

Failed sign-ins in red, exports in orange, changes with what changed.

Changes

What changed, field by field

Every edit keeps the old and the new value of each field that really changed, and who made it, when, from which address and browser.

A change

A quotation confirmed by Sara, from her phone.

Sessions

Every open session, ended in one click

Who is signed in, on which device and browser, from which address and city, since when, and whether they are idle. End signs them out on their next request; End All Sessions on the user form signs them out everywhere.

Sessions

Sessions idle for more than an hour are greyed.

Settings

Retention, sign-in emails, idle sessions

How long the logs and the sign-ins are kept, whether reads are logged, what is never logged, who gets an email on each sign-in, and after how long an idle session ends.

Settings

The number of lines written in the last 24 hours tells how fast the log grows.

Rules

Log everything, or only what matters

With no rule, everything is logged but the technical data. As soon as a rule exists, only what the rules name is: the sales and invoices, the changes and exports of the contacts, everything one accountant does.

What to Log

Three rules: from now on, only what they name is logged.

Analysis

Who does what

The log in a pivot and a graph: events per user, per day, per data.

Pivot

Events per user.

For the auditors

The activity of a period, as a PDF

Pick the users, the period and the events: changes, exports, imports and prints, sign-ins, or everything.

User Activity

The changes of the last 30 days, user by user.

How to use it

Logging in one click

1.Install the app: everything is logged from now on.
2.Open User Audit > Logs to see what happens today, and User Audit > Sessions for who is signed in.
3.In User Audit > Configuration > Settings, choose how long the logs are kept, the sign-in emails and the idle sessions.
4.If the log grows too fast, turn the reads off, or add rules in What to Log to keep only what matters.
Good to know

What it does, and what it does not

The log is readable by the Settings users only.

✓  Odoo's own code running as the superuser is not logged: it would only log Odoo's bookkeeping. Changes a user makes, even through a button, are.
✓  Reads are the most frequent event: on a busy database, turn them off in Settings or name only the data that matters.
✓  Behind a reverse proxy, start Odoo with --proxy-mode so that the log shows the real addresses.
✓  With our User Access Manager, every refusal of an access profile and every session it ends land in this log too.
✓  It depends on nothing but the standard Mail and RPC modules: it works with any set of apps.

Questions we get

Does it slow Odoo down?
Barely: the lines of a request are written once, when it ends, in one go. Reads can be turned off everywhere at once if you do not need them.

Does a cancelled change leave a line?
No: a change rolled back leaves nothing. A failed sign-in or a refusal is kept, written on its own.

Can users see the log?
No, only the Settings users. Each user still sees their own sessions in their preferences, as in standard Odoo.

How do I keep the log small?
Choose how long it is kept in Settings, turn the reads off, or add rules: only what they name is logged.

Is it really free?
Yes, all of it, under LGPL-3. There is no paid edition. Try it on a copy of your database first to see how fast the log grows; reviews, bug reports and ideas are welcome.


Odoo Mates

Keeping it simple

Email: odoomates@gmail.com


Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Lines of code 1475
Technical Name om_user_audit
LicenseLGPL-3

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, please use the developer contact information. They can usually be found in the description.
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