Import & Export Rules

Updated 8 October 2026

Back up, share, or move your validation rule sets between Odoo databases.

Overview

The Import and Export tools let you move validation profiles and rules between Odoo environments as a JSON file. This is useful for:

How It Works

Export downloads selected profiles and/or rules as a single JSON file. Import reads that JSON file and creates new rules or replaces existing ones (matched by name and model). Demo data imports from Settings are separate – those load pre-built sample rules, not your custom configuration.

Step-by-Step Guide

Exporting Rules

Importing Rules

Exporting From a Profile

You can also export directly from a Validation Profile form by clicking the Export button. This exports that profile and all its rules in one step.

Import / Export Fields

Field Explanations

JSON File

A standard text-based data format. Do not edit it manually unless you know what you are doing – use the Export tool to generate it correctly.

Replace by Name + Model

If a rule with the same name and model already exists, it is updated with the imported settings. Rules that do not match are created as new. This is the safest mode for syncing between environments.

Create New

Always creates new rules, even if duplicates exist. Use this when importing into a fresh database or when you want to keep both old and new versions.

Tips

Common Mistakes

Image