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. Audit Trail v 20.0
  4. Sales Conditions FAQ

Audit Trail

by Ömer Aba https://omeraba.com/apps
Odoo
v 20.0 Third Party 10
Download for v 20.0 Deploy on Odoo.sh
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Versions 18.0 19.0 20.0
You bought this module and need support? Click here!
Versions 18.0 19.0 20.0
  • Description
  • Manifest

Audit Trail

Who changed what, and when

  • Overview
  • Features
  • Getting Started
  • Good to Know
  • FAQ
  • Release Notes

Choose the models to audit. For every creation, change and deletion of their records, Audit Trail stores the user, the date, the record and, field by field, the old and the new value as the user saw them, with names instead of ids and labels instead of technical values. The values of a deleted record stay in its deletion log.

It also keeps a login history and can log the exports, imports and printed reports of audited records. Nobody can edit or delete a log, administrators included.

1Field by field

Old and new value of every changed field, as the user saw them.

2Login history

Logins, failed logins and logouts with IP address, browser and location.

3Data movements

Exports, imports and printed reports of audited records, one log each.

4Tamper-proof

Logs are read-only for everyone; only the retention cleanup removes them.

One line per logged operation, with the user, the operation, the model and the record.

One line per logged operation, with the user, the operation, the model and the record.

One rule per model

Log creations, changes and deletions, each switchable, and leave out the fields you don't need. Load Starter Rules creates rules for contacts, users, products, invoices, sales and purchase orders and employees (those installed) in one click.

One rule per audited model.

One rule per audited model.

Every detail of a change

Each log shows the user, the date, the source and the old and new value of each changed field. A changed text or HTML field can be compared side by side, with the removed and added words highlighted; HTML is compared as plain text and never rendered.

A log with the old and new value of each changed field.

A log with the old and new value of each changed field.

Field by field view

Next to one line per operation, a second list shows every changed field as its own line. Statistics of the last 30 days by model, field and user show what is noisy, and two buttons exclude that field or user from its rule.

Every changed field as its own line.

Every changed field as its own line.

Login history

Logins, failed logins (also those refused by the login cooldown, a failed second factor and wrong passwords or API keys sent through the external API) and logouts, with IP address, browser, platform and, with Odoo's GeoIP database, country and city. Kept 90 days by default (at least 7 days). A login that matches no user is never stored, as it could be a password.

Failed logins grouped by IP address.

Failed logins grouped by IP address.

Exports, imports and prints

Each export (the Export button, CSV or XLSX, and direct calls through the external API or the web client), import and printed report of an audited model's records adds one log with the user, the source, the number of records, their IDs (the first 1,000) and the fields or the report. Switchable per rule.

Source of each operation

Web client, external API (JSON-2, JSON-RPC, XML-RPC), scheduled action, import, server action or other. It is detected on the server and cannot be set through the request context. Work done with superuser rights is logged under the user who triggered it.

Audit History on every record

An Audit History entry in the Actions menu of every audited model opens the logs of the open record or of the selected records. Only auditors and managers see it.

Exclusions and retention

Users or groups whose operations are not logged (for example an integration bot), with every change of these exclusions written to the server log. Record logs are kept forever by default; set a number of days for all models or per rule, and older logs are deleted automatically.

Summary in the chatter

Optionally, each logged change is also posted as an internal note in the record's chatter, leaving out the fields Odoo already tracks there.

Rules from test to production

Export the rules to a JSON file and import them in another database. The file holds the configuration only, never log data; unknown models, fields, users and groups are skipped and listed.

Reports

A PDF report of the selected logs, and Excel or CSV through Odoo's standard export of the log lists.

1Install the module.

2In the user form, give the Audit Trail access right: Auditor (reads logs) or Manager (also edits rules).

3Go to Audit Trail > Configuration > Rules and add a rule for each model to audit, or use Load Starter Rules in the same menu.

4The login history needs no rule; it starts right away.

Never logged

File contents, fields limited to some user groups and secret-looking fields (password, token, API key). Models holding credentials or system secrets cannot get a rule, so auditors never read more than they are allowed to.

Your data

Everything is stored in your own Odoo database. The module calls no external service and sends no data anywhere. The login history holds personal data (IP address, browser, location); keep its retention in line with your privacy rules (GDPR, KVKK).

Languages

The interface is in English. Turkish, Arabic and Spanish translations cover the main record log screens; the login history and the options added in version 1.2 are in English for now.

Requirements

Odoo 20.0 Community. Depends only on the base and web modules. LGPL-3. Made by Ömer Aba.

Can an administrator edit or delete a log?

No. Logs cannot be edited or deleted from the interface or the API, administrators included. Only the retention cleanup removes old logs.

Are passwords or API keys ever stored?

No. Secret-looking fields are never logged, and a failed login keeps the login name only when it belongs to an existing user.

Who appears in the log when superuser code changes a record?

The user who triggered the work. Work done with superuser rights (sudo) is logged under that user, with the source of the operation.

How do I copy my rules from a test database to production?

Use Configuration > Export / Import Rules. The JSON file holds the rules only, never log data.

Does it need Odoo Enterprise?

No. It works on Odoo Community and depends only on the base and web modules.

20.0.1.2.4

  • New store page: tabs for overview, features, getting started, limits, FAQ and release notes.

20.0.1.2.3

  • A direct export_data call from the web client is now logged as an export.

20.0.1.2.2

  • Audit History in the Actions menu of every audited model.
  • Exports, imports and printed reports of audited records are logged.
  • Side-by-side comparison of changed text and HTML fields.
  • PDF report of the selected logs.

20.0.1.2.1

  • Starter rules for common models, and export and import of rules as a JSON file.
  • Statistics of field changes, and buttons to exclude a noisy field or user.
  • Managers can configure rules without being Odoo administrators.

20.0.1.2.0

  • Users and groups whose operations are not logged, per rule.
  • Retention of record logs, for all models or per rule.
  • Source of each operation: web client, external API, scheduled action, import, server action.
  • Optional change summary in the chatter.

20.0.1.1.0

  • Login history: logins, failed logins and logouts, with IP address, browser, platform and location.

20.0.1.0.0

  • First release: a log of record creations, changes and deletions, field by field.
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 2180
Technical Name oao_audit_trail
LicenseLGPL-3
Websitehttps://omeraba.com/apps

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.
  • Ratings
  • Discuss
by
Can
on 12/4/26, 3:46 AM



There are no comments yet!
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