Change History Pro: Compare Versions and Revert Changes in Odoo

Audit log with the tools of a merge request: split diff, compare versions, revert a commit and the history of your Odoo configuration.

License
OPL-1
Technical name
change_history_kvs
Split diff of a change

Change History Pro adds to the free Change History Lite what you need when something went wrong. See every change side by side, compare the record after any change with now or with another version, and put back the old values of one change or of a whole commit. Fields changed again later are flagged as conflicts and are not overwritten unless you tick them, and the revert is saved as a new commit linked to the original. Deleted records can be created again from their last values. From installation it also logs your configuration: views, server actions, automation rules, access rights, record rules, system parameters, scheduled actions, menus, email templates and user groups, with a diff of XML and Python code, so you know who broke a view or changed a rule. An activity graph shows commits per user and day.

Features

Split diff

Old version on the left, new on the right, with line numbers and highlighted words, for every change and commit.

Compare versions

The record after any change, or now, against any other version; show only changed fields or all of them.

Revert a commit

Put back the old values of one change or a whole commit; later changes are flagged as conflicts; the revert is a new linked commit.

Restore deleted records

A deleted record is created again from its last values; a record created by mistake is deleted.

Configuration history

Views, server actions, automation rules, access rights, record rules, system parameters, scheduled actions, menus, email templates and user groups, with a code diff.

Activity

Commits per user and day in a graph and a pivot table, by source.

How to set it up

  1. Install Change History Pro (change_history_kvs); it installs the free Change History Lite and starts logging the configuration models.
  2. Add your business models in Change History → Configuration → Logged Models.
  3. On a change or a commit use Compare Versions or Revert / Revert Commit; on a record use Action → Compare Versions.
  4. Configuration changes are in Change History → Configuration Changes, the activity graph in Change History → Activity.

Questions and answers

Which Odoo versions does it work with?

Odoo 17, 18, 19 and 20, Community and Enterprise, on Odoo.sh or your own server. Odoo Online cannot install third-party modules with Python code.

Who can revert changes?

Change History administrators; Settings administrators are administrators by default. Users with the history group only see the history.

Are order lines restored by a revert?

No. One-to-many lines such as order lines are shown in the diff but are not restored; change them on the record. Fields that point to deleted records are skipped.

Does a restored record keep its ID?

No, it gets a new ID; links from other records to the old ID are not restored.

How is it different from the free version?

Change History Lite logs changes and shows the diff, the record history and blame. Pro adds the split diff, comparing versions, reverting, restoring deleted records, the configuration history and the activity graph.

Custom development

We build any Odoo module to order

An integration with your bank or delivery service, a report, a workflow, a portal for your customers: describe the task and we will propose a solution, a price and a deadline.

Describe your task