Data Audits

Updated 8 October 2026

Scan your existing database records to find old data that would fail today’s validation rules.

Overview

Validation rules only check data when someone creates or edits a record. But what about records that already existed before you created the rules? Data Audits scan your existing database to find records that would fail your current rules.

This is essential when rolling out new data quality policies – you can find and fix legacy problems before they cause surprises.

How It Works

You create an audit, choose which rules or profiles to check, set a scan limit, and click Run Audit. Odoo reads existing records from the database and tests each one against the selected rules. Violations appear as lines on the audit form, and you can click through to open and fix each affected record.

You can also schedule daily audits from Settings (disabled by default).

Step-by-Step Guide

Audit Fields

Field Explanations

Record Scan Limit

Controls how many records are checked per model. Start with a smaller number (500) for a quick test, then increase for a full scan. Very large databases may take longer with high limits.

State

Draft = not yet run. Running = in progress. Done = completed successfully. Failed = an error occurred during the scan.

Violation – Would Block

The record would be rejected if a user tried to save it today. These are your highest-priority fixes.

Scheduled Audit

In Settings, you can enable a daily cron that automatically runs audits. Useful for ongoing data quality monitoring in large organisations.

Tips

Common Mistakes

Image

Data Audits