Odoo Migration Checklist: Before, During and After the Upgrade

Last updated: October 2026

This Odoo migration checklist lists every check we recommend for moving an Odoo Community database to a new major version, in the order you do them. Work through it once per upgrade project, whether you go from 19 to 20 or from 15 to 20 in one run.

An Odoo migration can go smoothly or turn into a multi-day firefight. The difference is almost always preparation. Databases that fail during migration typically share the same root causes: outdated third-party modules nobody remembered were installed, customizations that were never documented, or backups that turned out to be incomplete.

This checklist covers everything you should do before, during, and after upgrading your Odoo Community Edition database. Follow it sequentially — each step builds on the previous one. Whether you are jumping one version or three, the preparation is the same. If you are still evaluating your upgrade options, start with our guide to upgrading Odoo Community Edition for a comparison of manual migration, OpenUpgrade, and automated tools. If a test run stops with an error message, the upgrade error guides explain the most common ones.

Before you start: audit your installation

Before touching any migration tool, you need a clear picture of what you are working with. Skip this step and you will be debugging issues that should have been caught upfront.

Identify your current Odoo version. Log into your Odoo instance and go to Settings > General Settings. Your version number is displayed at the bottom of the page. Alternatively, check the ir.config_parameter named web.base.version in the database. You need the exact major version (16.0, 17.0, 18.0) to determine your migration path.
Inventory your installed modules. Go to Settings > Apps and filter by “Installed”. Categorize each module: standard (ships with Odoo), third-party (from the OCA or Odoo App Store), or custom (built specifically for your company). Standard modules are handled automatically by migration tools. Third-party and custom modules need manual attention.
Check third-party module compatibility. For each third-party module, check the Odoo App Store or the module's GitHub repository to see if a version compatible with your target Odoo version exists. If not, you have three options: find a replacement, port the module yourself, or uninstall it before migrating.
Document your customizations. List all custom views, reports, email templates, automated actions (Settings > Technical > Automation), and server actions. These reference specific fields and models that may change between versions. Automated actions that reference renamed fields will break silently after migration if not updated.
Clean up your data. Merge duplicate contacts (Contacts > Action > Deduplicate Contacts). Archive obsolete products instead of leaving them active. Delete draft or cancelled orders you no longer need. A cleaner database migrates faster and produces fewer edge-case errors.
Uninstall modules you do not use. Go through your installed modules list and uninstall anything your team no longer uses. Every installed module adds complexity to the migration. Common candidates: unused localizations, deprecated payment providers, test modules left over from development.

Create your backup

Your backup is the single most important artifact in the migration process. Everything else can be re-run, but a corrupt or incomplete backup means starting over.

1
Export from Odoo's database manager. Navigate to /web/database/manager in your browser. Click “Backup”, enter your master password, and select the zip format (includes filestore). This is the simplest method and produces a file that any migration tool can read directly.
2
Alternative: pg_dump + filestore. If the database manager is disabled or the database is too large for a browser download, use pg_dump directly: pg_dump -Fc your_db_name > backup.dump. Then zip your filestore directory (typically ~/.local/share/Odoo/filestore/your_db_name/). You can upload either the .dump file alone or combine both into a zip.
3
Verify backup integrity. Before proceeding, test your backup by restoring it to a separate database: pg_restore -d test_db backup.dump. Log into the restored instance and confirm your data is intact. A backup you have never tested is not a backup — it is an assumption.
4
Keep your original untouched. Store the original backup somewhere safe — a separate server, cloud storage, or even a USB drive. Never modify or overwrite your original backup during the migration process. OCU never modifies your uploaded file, but you should still have an independent copy.

Supported backup formats: .zip (Odoo database manager), .sql (plain SQL dump), .dump (pg_dump custom format).

Run a test migration first

Never run a production migration without testing first. Test migrations let you see exactly what the result looks like, what broke, and how long it takes — before any money or downtime is involved.

Upload your backup to OCU. Sign in and upload your backup file. OCU auto-detects your current Odoo version from the database. Select your target version and run a test migration. Test migrations are free and unlimited — run as many as you need.
Restore the test result on a staging server. Download the migrated backup and restore it on a server running the target Odoo version. Test migrations are neutralized (outgoing emails disabled, cron jobs deactivated) so you can explore safely without side effects.
Check for common issues. Look for these specific problems in the test result:
  • Broken views (usually from third-party modules referencing removed fields)
  • Missing menu items or actions
  • Automated actions or server actions that reference renamed fields
  • Email templates with outdated field references
  • Custom reports that no longer render

See our guide to common migration problems for solutions to the most frequent errors.

Note the migration time. The test migration shows exactly how long each step takes. Use this to plan your production downtime window. A typical database under 1 GB completes a single-step migration in 5–15 minutes. Multi-step migrations take proportionally longer.

Version-specific considerations

Every Odoo major version introduces structural changes that affect how you prepare. The general checklist above applies to all migrations, but here is what to watch for depending on your source version:

Migrating from Odoo 16

  • Module merges. Odoo 17 merged 24 standalone modules into their parent modules, including accounting localizations and POS addons. If you installed third-party modules that depend on the old module names, check whether updated versions reference the new names. See the 16 to 17 migration guide for the full list.
  • Alias domain changes. Odoo 17 introduces alias_domain_id as a required field on mail aliases. If your database uses mail aliases (sales teams, helpdesk, etc.), verify they still work after migration.
  • Multi-step planning. If you are jumping from 16 to 18 or 19, plan for a longer test cycle. Each intermediate step adds schema changes, and issues in one step can cascade into the next. OCU chains these steps automatically, but you should still verify the result carefully.

Migrating from Odoo 17

  • ir_property to JSONB conversion. Odoo 18 moves all company-dependent fields from the ir_property table to native JSONB columns on each model’s table. This is the largest single-step schema change in recent Odoo history. Verify that company-dependent fields (product costs, account properties, fiscal positions) have correct values after migration. See the 17 to 18 migration guide for details.
  • View architecture changes. Odoo 18 restructures XML views significantly. Inherited views are cleared and reloaded from the new version’s templates. Custom views and website theme modifications may need attention.
  • Accounting changes. The accounting module in Odoo 18 has structural changes to tax groups and chart of accounts templates. Review your tax configuration and fiscal positions after migration.

Migrating from Odoo 18

  • 15 model renames. Odoo 19 renames 15 models that hold business data — procurement.group becomes stock.reference, hr.contract becomes hr.version. If you have automated actions, server actions, or custom code that references model names directly, these need updating. See what's new in Odoo 19 and the 18 to 19 migration guide for the full list.
  • HR module restructuring. Odoo 19 renames and restructures HR modules extensively. hr.contract, hr.leave, and related models are renamed. If you use HR heavily, allocate extra time for post-migration testing of leave management, contracts, and payroll workflows.
  • Module renames (web_editor, etc.). Several core modules are renamed in v19 (e.g. web_editor becomes html_builder). Third-party modules that depend on renamed modules need updated dependencies in their manifests.

Post-migration checklist

After restoring the migrated database on your target-version server, work through these checks systematically. Do not go live until every item passes.

Verify core workflows. Create a test sale order, confirm it, and generate an invoice. Process a payment. Create a purchase order. Do a stock transfer. Run payroll if applicable. Touch every workflow your business depends on. If it works in testing, it will work in production.
Check reports and email templates. Print a sample invoice PDF, a delivery slip, and any custom reports. Send a test email from a sale order. Reports use QWeb templates that reference specific fields — any renamed or removed field will cause the report to fail.
Install updated third-party modules. For each third-party module in your inventory list, install the version compatible with your target Odoo version. Do this on staging first. Some modules may need configuration adjustments after updating.
Test integrations. If you use payment providers (Stripe, PayPal, Mollie), shipping connectors, or external API integrations, test each one. API endpoints and authentication flows can change between Odoo versions. Re-enter API keys if prompted.
Verify user access rights. Log in as different user roles (admin, sales manager, warehouse user) and confirm each role can access what it should. Security groups are sometimes restructured between versions — for example, Odoo 19 renames groups_id to group_ids on res.users.
Update custom code. If you have custom modules, update them for the target version's API. Check for deprecated method calls, renamed fields in your Python code, and updated QWeb templates in your XML views. Odoo's upgrade guide for custom databases documents the key API changes per version.
Verify data integrity. Spot-check critical records: open a few invoices and confirm totals match, check that product costs are correct (especially after a 17→18 migration where company-dependent fields move to JSONB), verify stock levels on key products, and confirm that employee records in HR are intact. Compare record counts for key tables (customers, products, invoices, stock moves) against your source database.
Check the Odoo server logs. After restoring the migrated database and starting the target Odoo version, review the server logs for warnings and errors. Look for WARNING entries about missing fields, broken views, or deprecated API calls. A clean startup log — no errors during module loading — is the best signal that the migration is sound.
Test scheduled actions and cron jobs. Go to Settings > Technical > Automation > Scheduled Actions. Verify that critical scheduled actions (invoice reminders, stock reordering rules, email digest) are present and correctly configured. If any scheduled action references a renamed model or field, it will fail silently until you fix the reference.
Verify your website (if applicable). If you use Odoo Website or eCommerce, browse your public pages. Check that the homepage renders correctly, product pages load, and the checkout flow works end-to-end. Website snippets and theme customizations are the most likely to need attention after a version change, as the underlying view templates are restructured between versions.
Re-enable outgoing email and cron jobs. Test migrations are neutralized — outgoing emails are disabled and cron jobs are deactivated. After running your production migration and restoring it, confirm that the outgoing mail server is configured, email sending works, and cron jobs are reactivated. Send a test email from a sale order or contact to verify delivery.

Migration timeline

A realistic migration timeline for a mid-size Odoo deployment. Adjust based on your module count and team availability.

PhaseTimelineActions
AuditWeek 1Module inventory, data cleanup, backup creation
TestWeek 2Run test migrations, review results, identify issues
FixWeek 3Update third-party modules, fix custom code, re-test
Go-liveWeek 4Schedule downtime, fresh backup, production migration, verify
Schedule downtime for off-peak hours. The production migration itself takes minutes to hours depending on database size, but you need additional time for restoring, testing, and installing updated modules. Plan for a 2–4 hour maintenance window on a weekend or evening.
Have a rollback plan. Keep your original database and Odoo installation intact until the migrated version is confirmed working. If something goes wrong, you can switch back to the old version within minutes by pointing your web server at the original instance. Your backup from step one is your safety net.
Create a fresh backup on go-live day. Do not use your week-old test backup for the production migration. On the day you go live, stop Odoo, create a fresh backup with the latest data, and run the production migration on that. Any transactions entered since your test backup will be in this final backup.

Supported migration paths

OCU supports Odoo Community Edition versions 15 through 20. Multi-step migrations are chained automatically — you upload once and download the final result:

Frequently asked questions

How long should I plan for an Odoo migration?
Plan for 2–4 weeks total. Week 1: audit your modules and create backups. Week 2: run test migrations and review results. Week 3: fix issues with third-party modules and custom code. Week 4: schedule downtime and run the production migration. Small databases with only standard modules can compress this to a few days.
Do I need to update third-party modules before or after migrating?
After. During migration, third-party modules are kept installed with their data tables preserved, but their views are disabled to prevent conflicts with the new Odoo version. Once you have the migrated database running on the target version, install the updated versions of your third-party modules.
What backup format should I use for migration?
Use the .zip format from Odoo’s database manager — it includes both the SQL dump and the filestore (attachments, images, documents). If you use pg_dump, you’ll need to separately zip the filestore directory. OCU accepts .zip, .sql, and .dump formats.
Can I migrate a database with demo data installed?
Yes. OCU handles demo data automatically during migration. Demo records that changed between versions are cleaned up without affecting your real business data. However, if you’re migrating a production database, it should not have demo data — demo is only for testing instances.
What if my test migration shows errors?
Most errors in test migrations come from third-party module views that are incompatible with the target version. These views are automatically disabled during migration. Check that your core workflows (sales, invoicing, inventory) work correctly. If standard Odoo functionality is broken, run another test — test migrations are free and unlimited.
Do I need to uninstall unused modules before migrating?
It’s not required, but it’s good practice. Unused modules add complexity to the migration and can introduce unexpected errors. Go to Settings > Apps, filter by "Installed", and uninstall any modules your team no longer uses. This also reduces your database size and speeds up the migration.

Further reading

Ready to test your migration?

Free test migrations, unlimited runs. See exactly what your upgraded database looks like before committing.

Start your free test migration