Odoo Community Upgrade Checklist: Moving Between 17, 18, 19 and 20 Without Breaking Custom Modules
To upgrade a self-hosted Odoo Community database between major versions, work on a copy, never on production. Take a backup, restore it as a test database, get every custom and third-party module installable on the target version first, run the migration on the copy, test the business flows people actually use, and only then repeat the whole thing on production in a planned window. The step that fails most often is not the migration itself but a module with no version for the target release.
PipeX Global builds small business modules for open-source ERP and offline utility apps. See what is on the store and how to reach us.
This checklist is written for people running Community on their own server who need to move between 17.0, 18.0, 19.0 and 20.0. It sticks to what Odoo's documentation and the OCA say, and marks the places where you need to check the current docs yourself.
Who this is for, and what it is not
- You run Odoo Community on your own server (or a VPS), with or without custom modules.
- You are moving between major versions, for example 17.0 to 19.0.
- You want a plan you can hand to a developer or follow yourself.
It is not a guide to switching editions. Odoo's upgrade documentation describes an upgrade as moving a database "from an older version to a newer supported version"; changing from Community to Enterprise is a separate matter and not covered here.
Why upgrade at all
Odoo's documentation describes a support window for each major version and a schedule for upgrading a database before that window closes. Read the current wording on the upgrade page, because the policy is the vendor's and can change. Dates for each version are in our supported versions guide and on Odoo's own page. Staying on a supported version is what keeps fixes and security patches coming.
The checklist
1. Stop and inventory
Before touching anything, write down:
- The exact current version, and the target version.
- Every installed module and where it came from: Odoo core, OCA, a vendor, a theme, or written in-house. In the database, the list of installed apps shows this; so does your addons path.
- Every module with its own model, view or report that you customised by inheritance.
- Integrations that call Odoo from outside (API users, webhooks, scheduled imports).
Odoo's developer guide on upgrading a customised database starts with a step it calls "Stop the developments". The reasoning is simple: if the custom code keeps changing while you test the upgrade, you are testing a moving target. Freeze new features until the upgrade lands.
2. Back up, and prove the backup restores
Take a full backup of the database and the filestore. A database dump without the filestore will restore, but attachments and images will be missing. Then restore it on another machine or an empty database and open it. A backup you have never restored is a hope, not a backup.
OpenUpgrade's own documentation lists "Make a copy of the database to migrate" as one of its four steps, ahead of running anything. Treat that as the rule for any method: the migration always runs on a copy.
3. Decide how the data will migrate
For a Community database there are two broad routes. Check which applies to you:
- Odoo's upgrade service. The official upgrade page describes requesting an upgraded test database first and testing it. Read the page for who is eligible and whether your edition is covered; do not assume.
- OpenUpgrade from the OCA. A community project that publishes migration scripts for Odoo's own modules. Its documentation lists the steps as: get the code from OpenUpgrade and its dependencies; make a copy of the database; adjust the configuration; run the upgrade, fix data and repeat. It also publishes a module coverage analysis for each pair of versions (for example 18.0 to 19.0). Before planning, look up whether your exact source-to-target pair exists and how complete the coverage is. It is community-maintained, so there is no vendor service level behind it.
Either way, scripts written for Odoo's standard modules do not know about your custom modules. Those are your work, covered in step 5.
4. Build the test environment
- A server (or container) with the target version's required Python and PostgreSQL versions. Read the target version's install documentation for the supported versions; they change between releases.
- A restore of the production backup, including the filestore.
- Outgoing mail disabled and scheduled actions paused, so the test copy does not email real customers or sync with real services. This is a standard precaution, not something specific to Odoo's docs.
- Integrations pointed at test credentials.
5. Make every module installable on the target version
This is where most upgrades stall. Odoo's guidance for customised databases is to make the custom modules work on an empty database of the target version first (the guide's "Step 3: Empty database" covers making modules installable, testing and fixing, cleaning the code, and standard tests), and only then work on the migrated data (its "Step 4: Upgraded database" covers migrating data with upgrade scripts and testing the custom modules).
In practice:
- Create an empty database on the target version.
- Install each custom and third-party module, one at a time, and read the traceback when it fails.
- Fix, reinstall, repeat. Add or update tests.
- Only when all modules install cleanly, move to the migrated copy of real data.
For third-party modules, first check whether the author publishes a branch for your target version. OCA repositories use one branch per Odoo version. If a vendor has no version for your target, you have three options: wait, port it yourself, or drop the feature. Decide this early, because it determines your timeline.
6. Know the typical code changes
Every major version removes or renames something. As a concrete example, the OCA's migration checklist for addons moving to 19.0 lists, among others:
- self._cr, self._uid and self._context replaced by self.env.cr, self.env.uid and self.env.context.
- odoo.osv.expression replaced by odoo.fields.Domain expressions.
- _sql_constraints replaced by models.Constraint or models.Index attributes.
- groups_id replaced by group_ids on views, menus, actions and reports; res.groups drops category_id in favour of privilege_id.
- read_group replaced by _read_group for backend code.
- Controllers: type="json" becomes type="jsonrpc" in @route.
- Search methods on computed non-stored fields must return a Domain object.
- Demo data is no longer installed by default, so tests must create the data they need.
The OCA page also says that when migrating from a version earlier than 18.0 you should work through the earlier migration checklists too, which matters if you are jumping, for example, from 17.0 to 19.0. For the other versions, open the matching "Migration to version X.0" page on the OCA maintainer-tools wiki rather than relying on a list from memory. For 20.0, check that page exists and read it as it is the authoritative list.
7. Run the migration on the test copy and read the log
Run the upgrade on the restored copy. Read the whole log, not just the last line. Warnings about fields, constraints or views that could not be converted are your to-do list. Fix, restore the backup again, and re-run until the log is clean. OpenUpgrade's wording for this step is "run the upgrade, fix data and repeat".
After the data migration, update your custom modules on the migrated database (Odoo's guide covers running upgrade scripts for data changes and testing the custom modules).
8. Test the business flows, not the menu
A clean log does not mean a working system. Write a short script of what your people do every week and run it:
- Create a quotation, confirm it, deliver, invoice, register payment.
- Print the invoice and delivery slip. Reports and QWeb templates are a common place for breakage.
- Log in as a normal user and as a restricted user, since access rules and groups change between versions.
- Run your scheduled actions manually once.
- Check each integration against the test instance.
- Open the website and the portal if you use them.
Have two people who use the system daily do this, not only the developer.
9. Rehearse the production run
The Odoo developer guide ends with "Testing and rehearsal" and then "Production upgrade". Time the rehearsal: the duration of the data migration on a production-sized copy is the downtime you must plan for. Write the sequence down, including how to roll back (stop Odoo, restore the pre-upgrade backup, restart the old version).
10. Production day
- Announce the window and stop users.
- Take a fresh backup of database and filestore.
- Run the exact sequence from the rehearsal.
- Smoke-test with the script from step 8.
- Keep the pre-upgrade backup and the old server until the first week has passed without surprises.
Common problems with themes and third-party modules
- No version for the target release. A module's branch for your target version may not exist yet, especially soon after a new major version. Check before you commit to a date.
- Themes are views and assets. They override templates and styles, so they tend to break when core templates or the asset pipeline change. Install each theme on an empty target database and open the front end and backend before the data migration.
- Renamed groups, fields and methods. The examples in step 6 (for instance groups_id to group_ids) will show up as tracebacks or as views that fail to load.
- Leftover data from removed modules. A module you no longer install can leave records behind. Odoo's upgrade scripts reference helper functions for cleaning up such data; read the upgrade-scripts reference for the version you use.
- Demo data assumptions in tests. From 19.0 demo data is not installed by default per the OCA checklist, so tests that relied on it fail.
If you are not sure whether your modules have target-version branches, the quickest check is the repository branch list for each one.
A note from our side
We maintain a small set of themes and modules for Community and ported six themes to 20.0 in November 2026. The repeated lesson is the one above: install each module on an empty database of the target version before anything else, because that is where renamed fields and view changes surface first. If you want to see which of our modules already have a version for your target release, the list is on our about page, with links to the store. If you would rather do the upgrade yourself, the checklist above is all you need.
Sources checked 12 November 2026.
Odoo is a trademark of Odoo S.A. This site is not affiliated with Odoo S.A.
Sources
- Odoo documentation, Upgrade
- Odoo documentation, Upgrade a customized database
- OCA, OpenUpgrade documentation
- OCA maintainer-tools wiki, Migration to version 19.0
Questions
- Can I skip a version, for example go from 17.0 to 19.0?
- Odoo's documentation speaks of moving a database from an older version to a newer supported one, with an example of 16.0 to 18.0. With OpenUpgrade, coverage is published per version pair, so check whether the pair or the chain you need is covered. When you skip versions, the OCA advises completing the earlier migration checklists as well.
- How long does an upgrade take?
- There is no honest general figure. The rehearsal on a production-sized copy tells you; measure it.
- Do I need to upgrade custom modules before or after the data migration?
- Before: make them installable on an empty target database first, then migrate the data and update the modules. This is the order in Odoo's developer guide.
- Is OpenUpgrade official?
- It is an OCA project, not an Odoo SA service. Read its documentation for supported versions and limits before relying on it.
- What if a third-party module has no version for my target?
- Wait for the author, port it, replace it, or drop the feature. Decide before you set a date.
PipeX Global builds small business modules for open-source ERP and offline utility apps. See what is on the store and how to reach us. Also: what we build and how to reach us, more from the blog.
Who publishes this
Each line links to where you can verify it, with the date we last read it. We do not publish reviews, customer names or sales figures here.
- Every Android app we publish is listed under one Google Play developer account. Source: Google Play developer page, read .
More from the blog
- How to Track Monthly Bills on Android Without a Bank Login
- How to Delete Old Screenshots on Android and Stop Them Piling Up
- How to Find and Delete Blurry Photos on Android (Samsung, Xiaomi, Pixel)
- Deleted a Photo on Android? Where It Goes and How to Get It Back
- How to Find Similar Photos on Android (Bursts and Near-Duplicates)
- Android Storage Full? What to Delete First, in Order of Risk
- WhatsApp Photos Filling Your Android Storage? Clear Them Safely
- Zero-Based Budget vs 50/30/20 for 2027: Which One Should You Use?
- Ramadan and Eid 2027 Budget: What to Plan For, and How Zakat al-Fitr Works
- Finding the Qibla When Travelling or Offline: Why Phone Compasses Drift and What to Do
- How Big Should Your Emergency Fund Be? Months of Expenses in the US, UK and EU
- How Long to Keep Tax Records in the US (and Store Digital Copies)
- Phone vs Dedicated Barcode Scanner for a Small Warehouse: When Is a Phone Enough?
- How to Read Google Play's Data Safety Section (and Why Offline Apps Have Less to Hide)
- Delete Blurry Photos, Screenshots and Big Videos Safely: A Backup-First Checklist for Android and iPhone
- How to Send Customers a Statement of Account That Gets Paid
- The End-of-2026 Phone and Money Reset: A Checklist
- Open Password vs Permissions Password on a PDF: What Each Does, and Why to Unlock Your Own Files Offline
- How Freelancers Can Log Business Expenses All Year So Tax Time Is Not a Scramble
- Which Odoo Versions Are Supported in 2026? When to Upgrade
- How to Print Barcode Labels for Products, Lots and Stock Locations
- Upload Rejected Because the PDF Is Password Protected? Here Is the Fix
- How to Split a Group Bill and Still Know Who Owes You
- Free Up Space on Android: Duplicate Files and Photos
- How to Track Expenses Without Connecting Your Bank Account
- Why Your Payslip PDF Has a Password, and How to Keep a Copy Without One
- Prayer Times While Travelling: Time Zones, Flights and Qasr
- How to Export Your Expenses to CSV and Use Them in a Spreadsheet
- How to Track Cash Spending When You Have No Receipts
- Weekly Budget or Monthly Budget? How to Pick the One You Will Keep
- Google Account Storage Full? What Counts Toward 15 GB
- Imsak vs Fajr: Which Time Do You Stop Eating Sehri?
- How to Audit App Permissions on Android in Ten Minutes
- How Iftar Time Is Calculated, and Why Two Apps Disagree
- Find and Cancel Every Subscription on Your Android Phone
- A 30-Day Plan to Prepare for Ramadan 2027
- A 60-Minute Year-End Money Review for 2026
- Ramadan 2027 Calendar by Country: Start Dates and Why They Differ
- Android Developer Verification and Sideloading in 2026
- Cyber Monday 2026: Set a Holiday Spending Limit First
- Ramadan 2027 Fasting Hours by City: Longest and Shortest Days
- Laylat al-Qadr 2027: Which Nights, and Dates for Each
- When Is Eid al-Fitr 2027? Date, Prayer and What to Prepare
Odoo is a trademark of Odoo S.A.; we are an independent developer and not affiliated with it. Check Odoo's own documentation for the version you run before changing anything, and test on a copy of your database first.