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. Productivity
  3. Audit Trail & Change Log: Field History, Who Changed What, Delete Snapshots v 19.0
  4. Sales Conditions FAQ

Audit Trail & Change Log: Field History, Who Changed What, Delete Snapshots

by Viyug Infotech https://viyuginfotech.com
Odoo
v 19.0 Third Party 54
Download for v 19.0 Deploy on Odoo.sh
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Versions 16.0 17.0 18.0 19.0 20.0
You bought this module and need support? Click here!
Versions 16.0 17.0 18.0 19.0 20.0
  • Description
  • Manifest
Change Audit Trail: who changed what, and when

Change Audit Trail

Rule-based logging of creates, edits and deletes with readable before and after values. A history next to every audited field, a snapshot of every deleted record, and visibility that follows your access rights. Free.

Field history on the form Delete snapshots Revert a save CSV and Excel export

5
operations: create, edit, delete, open, export
6
origins you can filter per rule
8
starter presets
2
roles: Auditor and Audit Manager

Planning a change, not just recording it?

This free app tells you what changed. Our paid app tells you what a change will break before you make it.

AI Change Impact Analyzer icon
AI Change Impact Analyzer Paid app

Before you remove a field, model, view or automation: scan every technical reference, get an explainable risk level and an AI-written test plan.

View AI Change Impact Analyzer

From "who changed this?" to a clear answer

A customer's bank account, a price, a user's rights: when something changed, you need the who, the when and the value before.

Without it

  • Chatter tracking only covers a few fields on some documents
  • Deleted records are gone, with no trace of their values
  • Nobody knows which import or integration overwrote a value
  • Reverting a wrong save means retyping from memory

With Change Audit Trail

  • Choose any model and log all business fields or just the ones that matter
  • Every deletion keeps a searchable snapshot of the record
  • Each entry shows user, time, IP address, browser and origin
  • Revert a logged save in one click, with a conflict check

What you get

๐Ÿ“‹

Audit rules per model

Pick a model and switch creation, edits and deletion on or off. Record opens and data exports are optional. Nothing is logged until you switch a rule on.

๐ŸŽฏ

All fields or just a few

Log every business field, or only listed ones. Editable fields count even when computed (order line quantity and price); technical, read-only computed and binary fields are left out, and password, token and secret values are never stored.

๐Ÿ’ฌ

Readable values

Selection labels instead of keys, record names instead of ids, tags added and removed, amounts with their currency, dates in the reader's timezone and language.

๐Ÿ•‘

History next to every field

A small history icon next to each audited field label opens that field's timeline: who, when, old and new value, and the reason if one was given.

๐Ÿ—‘๏ธ

Delete snapshots

When a record is deleted, every tracked value is kept, child lines included by name. Search deleted records by any value they contained.

๐Ÿ”—

One save, one entry

Several writes in the same save are merged into one entry per record. Entries of the same transaction share a reference you can group by.

๐Ÿ”’

Visibility follows your access rights

Auditors only see entries of records they can read, in companies they can access, and never values of fields protected by groups they lack. In lists, forms, exports and digests.

๐ŸŽ›๏ธ

Transition and threshold filters

Log a field only when it moves from or to chosen values, for example an invoice going from Posted back to Draft, or when a number changes by more than an amount or a percentage.

๐Ÿ“ก

Origin filter per rule

Choose which channels are logged: user interface, external API, scheduled actions, imports, server actions and scripts. Leave out the nightly sync on one rule only.

โœ๏ธ

Ask for a reason

Mark a field as needing a reason. The form asks for a short explanation on save and keeps it with the change. API callers can pass it too.

โ†ฉ๏ธ

Revert with conflict check

Undo the field changes of a logged save. A field changed again since is skipped and reported. The revert itself is logged.

๐Ÿ“ˆ

Log, field changes, pivot and graph

Filter by model, record, user, field, date, operation, origin and company. Group by transaction or day. Every change to one field in one list.

๐Ÿ“จ

Digests and watches

Daily or weekly email digests per rule, and personal watches on single records. Each recipient only gets what they are allowed to read.

๐Ÿ”ง

Tune noisy rules

See entries per day and the fields and users behind most of them, then exclude a field or a user with one click.

๐Ÿ“ฆ

Presets, import and export

Start from ready-made rules for contacts, users, products, invoices, orders, employees and transfers. Move rules between databases as a JSON file with validation.

๐Ÿ“„

PDF, CSV and Excel

Print the history of selected records as a PDF report. Export filtered changes to CSV or Excel with the libraries Odoo already ships.

โ™ป๏ธ

Retention and mass operations

Delete old entries every night in batches, globally or per rule. Off by default. An import or mass edit above a threshold is logged as one summary entry.

๐Ÿ›ก๏ธ

Never blocks a save

Entries are written in two batched inserts when the transaction commits. If logging fails, the error is recorded in the server log and the user's save still goes through.

See it working

Fictional contacts and users, edited over three weeks.

1

Audit log

Every create, change and deletion with the user, the time, the origin and a readable summary of the changed fields.

Audit log
2

One entry, one save

The Tax ID and a tag were changed in the same save, with the reason the user gave. IP address, browser and transaction are kept with it.

One entry, one save
3

History next to the field

Click the history icon next to a field label to see that field's changes without leaving the record.

History next to the field
4

Ask for a reason

Fields marked as needing a reason open a short dialog on save. Cancel and nothing is saved.

Ask for a reason
5

On every audited record

Change History and Watch Changes appear in the Action menu of every model with a rule.

On every audited record
6

Record history, child lines included

The history of a company also shows changes to its contacts, because the rule shows line changes on the parent.

Record history, child lines included
7

Delete snapshot

A deleted contact keeps all its tracked values. Search the log by any of them.

Delete snapshot
8

Every field change in one list

One line per changed field. Filter by field, user or date, for example every change to an email address this quarter.

Every field change in one list
9

Pivot and graph

Which fields change most, and who changes them.

Pivot and graph
10

Audit rule

Operations, company, users, record filter and parent record. Per field: exclude, hide the value, ask a reason, only from or to some values, minimum change.

Audit rule
11

Tune a noisy rule

Entries per day and the fields and users behind them, each with a one-click exclusion.

Tune a noisy rule
12

Starter presets

Ready-made rules for the document types installed in your database. Import and export rules as JSON from the same window.

Starter presets
13

Export to Excel or CSV

Filter by date, document type, user, operation or field. Only entries you are allowed to see end up in the file.

Export to Excel or CSV
14

Settings

Retention, the mass-operation threshold and whether IP address and browser are stored.

Settings

Configuration

Settings

Audit Trail > Configuration > Settings. Every setting with its default.

Setting Default What it does
Keep audit entries0 days (keep forever)Entries older than this are deleted every night in batches. A rule can set its own period.
Summarise operations above500 recordsOne operation on more records than this (an import, a mass edit) becomes one summary entry, visible to Audit Managers.
Store IP address and browserOnKeeps the IP address and the browser and operating system of the person making the change.

Rule options

Audit Trail > Configuration > Audit Rules.

Option Default What it does
Creation, Changes, DeletionOnWhich operations are logged.
Record opensOffLogs each time someone opens a record. Shows a volume warning when switched on.
Data exportsOffLogs exports from list views: who, how many records, which columns.
Auditors see deletionsOffEntries of deleted records are for Audit Managers; tick to show them to Auditors too.
Field scopeAll business fieldsOr only the fields you list.
Per field-Exclude, hide the value, ask a reason, only from / only to values, minimum change (amount or %).
CompanyEvery companyOnly log records of one company.
Only users in groups / Ignored usersEmptyLimit logging to some users, or leave out integration and cron users.
Only records matchingAll recordsA record filter, for example only companies, or only customers.
Show on parentEmptyFor line models: changes also appear in the history of the parent record.
OriginsAll onUser interface, external API, scheduled actions, imports, server actions, scripts.
Email digestNo digestDaily or weekly summary to chosen users.
Keep entries0 (use the global setting)Retention for this rule only.

Roles and access

Role Can see and do
AuditorRead entries and field histories of records and fields they can already read, export them, print the history report.
Audit ManagerEverything an Auditor can, plus rules, presets, import and export of rules, tuning, settings, reverts, and deleting entries. Nobody can edit entries.
Every internal userWatch a record they can read and receive its changes in a daily digest. Give a reason when a field asks for one.

Scheduled jobs

Job Runs Does
Change Audit: retentionDailyDeletes entries older than the rule or global retention, in batches of 5,000.
Change Audit: email digestsDailySends rule digests (daily, or weekly every 7 days) and personal watch digests.

For developers and scripts

Context key Effect
change_audit_disable=TrueNo logging for this call, for example in a migration script.
change_audit_reason="..."Stores the reason with the entries of this call, like the form dialog does.

Good to know

Who sees deleted records?

A deleted record can no longer be checked against record rules. So its entries are shown to Audit Managers only. Tick Auditors see deletions on a rule to also show them to Auditors who can read that kind of document, in the company the record belonged to. Fields protected by groups stay hidden as usual.

Light on your database

  • Models without an active rule are not touched: the rule lookup is cached in memory
  • Old values are read once per save for all records and fields, not field by field
  • Entries and field lines are written in two batched inserts when the transaction commits
  • Changes made during module installation and upgrades are never logged
  • Audit entries never log themselves

Questions

Does it work on Odoo Community?

Yes. It only needs Discuss, which every database has.

Is this the same as chatter tracking?

No. Chatter tracking covers fields a developer marked as tracked, on models with a chatter, and posts messages. This app logs any field of any model you choose, keeps deleted records, does not post messages and has its own searchable log.

Can someone edit or delete their own traces?

Nobody can create or edit entries from the interface or the API. Only Audit Managers can delete entries, and the retention job removes old ones if you set a period.

What happens if a rule is wrong, for example after a field was removed?

Unknown fields are skipped, a broken record filter falls back to logging every record of the rule, and any error while logging is written to the server log. The user's save always goes through.

Are passwords stored?

No. Fields named like passwords, tokens, secrets, API keys or signatures, and binary fields, are always logged as "changed, value not stored". You can do the same for any field with Hide value.

How do I see the history of one record?

Open the record and use the history icon next to a field label, or Action > Change History for all its entries, including those of its child lines when the rule shows them on the parent.

Can I see who opened a record?

Yes, switch on Record opens on the rule. It is off by default because it creates an entry for every open.

In which language are values shown?

Raw values are stored once. Field labels and selection values are shown in the language of the person reading, dates in their timezone. The field label and record name are also kept, so history stays readable after a field or module is removed.

What does Revert do exactly?

It writes back the old values of every field changed in that save and in the other entries of the same transaction, with your own access rights. Fields that changed again since, removed values and one2many lines are skipped and listed in the result.

Does a big import slow down?

Above the threshold in Settings (500 records by default), an operation is logged as one summary entry, and the per-record comparison is skipped.

Go further with paid Viyug apps

This app stays free. These paid apps from the same team work next to it:

Access Guard

Segregation of duties, risk matrix, emergency access and access reviews.

Open on the Odoo store รขย†ย—

Master Data Governance

Change approval, validation rules and duplicate check for contacts and products.

Open on the Odoo store รขย†ย—

Questions or ideas?

Write to us about setup, a bug or an idea for the next version.

Email support: support@viyuginfotech.com
Website: viyuginfotech.com

Scan with your phone to chat on WhatsApp or write us an email:

WhatsApp QR code for Viyug Infotech support

WhatsApp

+91 83207 42187

Email QR code for Viyug Infotech support

Email

Send us an email

Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Lines of code 2512
Technical Name change_audit_trail
LicenseLGPL-3
Websitehttps://viyuginfotech.com

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