How to upgrade Odoo from version 16 or older
The path from an old Odoo database to a supported release depends on three things: the edition you run, where it is hosted, and the custom code it contains. The target version must be one that your chosen upgrade route covers, so the route and the destination should be decided together. Any version older than 17.0 is past standard support, because Odoo 17.0 standard support ended in September 2026. Before you commit to a target, confirm the covered versions in the Odoo Enterprise Subscription Agreement, since the upgrade service depends on that text rather than on general product marketing.
Start by identifying the exact version of your database and the edition it runs on. An Enterprise database on Odoo.sh or on-premise can use the upgrade service, which converts a database from any version to a more recent covered version. A Community database has no access to that service, so its route is a step-by-step migration. Check the hosting type too: Odoo Online and Odoo.sh require major version upgrades on a fixed cycle, so an old database there may already be overdue. Next, inventory every custom module, Studio customization and third-party app, and note which ones have no ported version for your target. That inventory, not the database size, usually determines how many versions you must pass through and how long the code work takes.
Ask your upgrade partner or Odoo contact to confirm three things in writing: which covered target version the route reaches, whether the upgraded test database will be produced for you to test before production, and what happens to each custom module that has no port. A rebuild on the target version is worth comparing against an upgrade whenever the custom code is extensive or the data model has drifted far from standard, because it may cost less than porting several generations of code. Record the decision and its reasons, since the choice between upgrade and rebuild affects every later phase of the project.
What changed between version 16 and the current releases
This table compares each recent Odoo release against its standard support end date and the upgrade rules that apply to your hosting type. Read it to see which versions an upgrade from 16 must pass through or land on, and which deadlines force the timing. Per-version functional and technical changes are not covered here, so pull the official release notes for each version in your path.
| Item | What changed | Action needed |
|---|---|---|
| Odoo 17.0 | Standard support ended in September 2026 | Treat 17.0 as unsupported. Plan the upgrade path so 16 databases do not stop at a version without patches. |
| Odoo 18.0 | Released October 2024, standard support runs to September 2027 | Confirm whether 18.0 is a stop on your path or whether you will move past it directly. |
| Odoo 19.0 | Released September 2025, standard support runs to September 2028 | Check the 19.0 release notes for module and API changes that affect your custom code. |
| Odoo 20.0 | Released September 2026, standard support runs to September 2029 | Confirm with your partner or Odoo whether 20.0 is your target and whether your modules are ported. |
| Mandatory major upgrades (Online and Odoo.sh) | Major version upgrades are mandatory every two years | If you host on Odoo Online or Odoo.sh, schedule the upgrade within the mandated cycle and confirm your current deadline. |
| SaaS release cadence | SaaS versions release every two to three months and cannot use extended support | Track SaaS release timing and avoid building custom code against a version that will not be patched long. |
| On-premise extended support | Paid extended support is limited to select versions, and security patches come only during standard support | Confirm whether your target version has extended support available before committing to a long-term on-premise run. |
| Per-version functional and technical changes | Not covered in this table | Read the official release notes for each version in your upgrade path before estimating effort. |
Which upgrade path fits your edition and hosting
If your database runs on the Enterprise edition, the upgrade service is the most direct route. Under the Enterprise Subscription Agreement, the service converts a database from any version of the software to a more recent covered version, and the covered versions are the three most recently released major versions. That means a version 16 database can target a covered release directly instead of passing through each intermediate version. The service produces an upgraded test database first, and that copy must be tested before production is switched over.
- Edition check: confirm the database is on a valid Enterprise subscription, since on-premise use requires one.
- Target choice: pick a covered release that still has standard support, using the support dates in Odoo's documentation.
- Test copy: the upgraded test database is the checkpoint before cutover, so plan time for testing it.
- Custom modules: the service converts the database, but custom code still needs porting to the target version.
- Hosting: on-premise and Odoo.sh both need the Custom plan, so confirm your plan covers the features you use.
Before committing, confirm with Odoo which covered release your version 16 database can reach and what the upgrade service charges for your subscription.
The Community edition has no access to Odoo's upgrade service, so a Community database cannot use the Enterprise path. OpenUpgrade is the community-maintained migration route, and it moves a database one major version at a time. Each hop needs its own migration run, its own test cycle and its own check of module coverage, so a version 16 database has several steps before it reaches a supported release. The work grows with the number of hops and with the number of custom or third-party modules.
- One hop at a time: each major version is a separate migration with its own verification.
- Module coverage: check which installed modules have migration scripts for each target version.
- OCA modules: community modules may need porting or replacement at each step.
- Custom code: every custom module needs an update for each target version it passes through.
- Edition switch: compare the cost of repeated community hops with a move to Enterprise, since the upgrade service is only available there.
Ask for a written hop-by-hop plan, including which modules are covered at each step and who is responsible for porting the gaps.
A rebuild installs a fresh, current release and moves the business data and configuration into it, rather than converting the old database in place. This suits databases where custom code, accumulated customizations or years of history cost more to carry forward than the value of the old data. The old system stays available as a reference, and only the records you choose to keep are migrated. The trade-off is that configuration, reports and workflows must be rebuilt or re-checked against the new release.
- Data selection: decide which records, such as open orders, active customers and recent ledgers, must move and which can be archived.
- Configuration: document workflows and settings that will be rebuilt rather than carried over.
- Custom code: rebuilding removes the need to port old modules, but any feature you still need must be reimplemented.
- Reference access: keep the old database readable for audit and historical questions.
- Validation: plan testing of key business flows on the new installation before go-live.
When comparing options, ask what data must be retained for legal or audit purposes, since that decides how much history the rebuild must carry.
What to inventory before the first upgrade test
Most delays in an Odoo upgrade come from facts nobody wrote down before the first test run. The six items below connect the route you can take, the code you must port and the data you must protect, so gather them before anyone requests a test database.
Full backup with a tested restore
Take a full database dump and a filestore copy, then restore both to a separate server to prove they load. A backup that has never been restored is an assumption. Confirm who holds the backup, where it is stored, and how long your organization keeps it before anyone starts changing the source system. Record the exact Odoo version and PostgreSQL version of the source, because the upgrade starts from that point.
Installed modules and custom code
List every installed module, marking which ones are standard, Community, Apps Store, OCA or custom. Each custom module needs porting to the target version before the upgraded database will run it, so this list sets most of the code effort. Note any module with no ported version available for the target release, since that module may force a change in design rather than a simple port.
Integrations, API users and scheduled actions
Document every system that reads from or writes to Odoo, the API users and keys they use, and every scheduled action that runs on a timer. These pieces break silently after an upgrade because they are outside the screens people test. Confirm which external calls use which protocol and whether the target version changes that interface, since older integrations may depend on methods that were removed.
Filestore and attachments
Odoo stores attachments, documents and images in a filestore on disk, separate from the PostgreSQL database. A database restore without the matching filestore produces records with missing files. Measure the filestore size and confirm that the upgrade environment can hold a copy of it, along with the source database. Check that file permissions and paths on the new server match the configuration you will use.
Neutralized test copy
Create the first test copy with database duplication and neutralization, so that outgoing email, scheduled actions and payment settings do not reach customers or banks from the test environment. Neutralization is the step that makes the test safe to run. Confirm who owns the test server and who may log in to it, because the copy holds the same personal data as production.
Edition and subscription status
Confirm whether the database runs Community or Enterprise and whether the subscription is active, because that decides which upgrade route is open. The Enterprise upgrade service requires a subscription and a database within the covered versions, while Community upgrades depend on other tooling. Ask your Odoo contact which versions your subscription covers and whether the target release is available to you before you plan the schedule.
Choosing a route from an old database to a supported release
The route starts with the database you run today and two questions: is the business data worth converting, and which edition do you hold. Enterprise databases can use the upgrade service only when the target is a covered version, which is one of the three most recently released major versions. Community databases use OpenUpgrade, which moves one major version at a time, or a rebuild on a current release. Custom modules add a porting branch, and every outcome ends with a test on a neutralized copy before production.
Decision path from an old database to one of three upgrade outcomes.
Upgrade sequence for an Odoo database from an unsupported version
The sequence turns an aging Odoo database into a tested, supported production system while keeping the original database and filestore available for rollback until cutover is verified.
Freeze development and inventory customizations
The client and the delivery team stop changes to the live system and list every custom module, report, server action, scheduled action, integration and external API consumer. DeployOpen records which customizations exist in code and which were made through configuration, because configuration usually moves across versions with less work. The step is done when the inventory is signed off and the change freeze is communicated, so no production data is written after the copy that will be upgraded.
Take verified backups of database and filestore
The team takes a full PostgreSQL dump and a copy of the filestore, then restores the dump to a separate server to confirm it is readable. Both the original database and the filestore are kept untouched from this point until the production cutover is verified, which is the rollback point. The check that must pass is a successful test restore with matching record counts for key models such as invoices, contacts and stock moves. Backup retention and storage location should be confirmed with the client's own policy.
Create a neutralized test copy
The team duplicates the database and filestore onto a separate environment and neutralizes it, which disables outgoing email, scheduled actions that contact outside systems, payment provider settings and integration endpoints. This prevents the test copy from sending invoices, syncing with live systems or charging customers. The step is done when neutralization is confirmed by checking mail servers, connector settings and scheduled actions on the copy. Odoo documents database duplication with neutralization for test copies in its on-premise guidance.
Run the upgrade on the test copy
The team upgrades the neutralized copy either through Odoo's upgrade service, which requires an Enterprise subscription for on-premise use, or one major version at a time with OpenUpgrade for Community databases. Each intermediate result is checked before the next version is applied, since a failed step is easier to diagnose in isolation. The check that must pass is a clean migration log with no unresolved errors, and the upgraded test database is then tested before production, as Odoo's upgrade documentation requires.
Verify each intermediate result before proceeding
After every major version step, the team logs in, loads the core menus, reviews the migration warnings, and checks that module installation states match the expected list. Any module that is missing, marked uninstallable or has failed data migration blocks the next step. This gate prevents the team from stacking several versions of unresolved errors on top of each other. The step is done when each intermediate database passes the same check list and the results are recorded for the rehearsal.
Port custom modules and migration scripts
Developers port each custom module to the target version, write migration scripts for renamed or removed fields and methods, and replace customizations now covered by standard features. Ported code is committed to version control and deployed to the test environment alongside the upgraded database. The step is done when every custom module installs cleanly on the upgraded copy and its unit or functional tests pass, which is why databases with custom code wait for ported modules before any cutover date is set.
Test business flows, integrations and reports
Business users run the flows that matter most, such as quoting, invoicing, payments, stock moves, payroll or manufacturing orders, and the team checks reports, PDFs, email templates, API calls and connector syncs against the neutralized copy. Results are compared with the original system where figures should match, such as totals and balances. The step is done when the agreed test cases pass and every failure has an owner and a fix or an accepted workaround recorded in writing.
Rehearse the cutover and cut over production
The team schedules a full rehearsal that repeats the backup, copy, upgrade, port and test steps end to end against a fresh production copy, timing each step and recording any manual actions. Production cutover then follows the rehearsed runbook, with the original database and filestore kept intact until the upgraded production system has passed the same smoke tests. The rollback point remains the untouched original until that verification is signed off, after which the old environment is retired on the client's retention schedule.
Porting custom modules across several versions
A database that skips several versions has to carry its custom code through every version it passes, not only the last one. Each intermediate step runs the database against the standard code of that release, so a custom module that loads cleanly on the source version can fail on the first hop and block everything after it. The practical consequence is that a database with custom modules cannot reach production until the ported code runs on the final target. Plan the port as a chain of steps, one per version, and ask your partner or internal team to confirm which versions the custom modules must pass through before estimating the work. The decision that matters most is whether the code is still needed at all, because every module you retire is one fewer module to port at each step.
Start by freezing customizations. Stop feature work on the custom modules and the database views, reports and automated actions that depend on them, and record the exact code version in version control so every port starts from the same baseline. Then check each inherited view, overridden method and custom report against the standard code of the target version. Look for standard features that now cover what a custom module does, since those can be removed rather than ported. Where a method signature, view structure or report template has changed, write a migration script that transforms the stored data or renames references, and keep each script tied to the version step it belongs to. Confirm with the upgrade provider how migration scripts are run and where they are stored.
Test on an upgraded copy, not on the live database. Build a neutralized test database through each step, run the custom flows end to end, and check the reports, PDFs, scheduled actions and any integration calls that the custom modules touch. Compare results with the source system for the same records, and record every defect with the step where it was introduced. Keep the production cutover blocked until the final upgraded copy passes these checks and the ported modules have been installed without errors. Ask your team to confirm the test scope in writing, because the length of each test cycle depends on how many custom modules and integrations the database carries.
What makes an old-database upgrade take longer
This table lists the factors that add work to an upgrade from Odoo 16 or older, and why each one adds effort. Use it to check that a quote counts each driver explicitly rather than applying a single lump sum. No duration figures are given here, so the quote should show how each driver was counted and what assumptions sit behind it.
| Driver | Why it adds effort | What to ask for in a quote |
|---|---|---|
| Number of major versions crossed | Odoo 16 is no longer in standard support, so the database must move through each intermediate major version. Each hop adds a conversion, a test cycle and fixes to custom code. | The exact path (for example, a direct Enterprise upgrade or a stepped OpenUpgrade path), and how many hops are priced or estimated. |
| Amount and age of custom modules | Custom code written against old APIs must be ported version by version. Older modules with heavy view or model overrides usually need more rework than small ones. | A module inventory with each module's age, size and the target versions it must be ported to. |
| OCA or Apps Store modules and port status | Each third-party module needs a port for the target version. Where no port exists, the work moves to in-house development, or the feature is replaced by standard functionality. | A per-module list showing whether a port exists for each target version, who will port it, and what happens to modules with no port. |
| Integrations and API users | Connections built on older interfaces, including XML-RPC callers, need rewriting and retesting. Each external system must be checked against the new behavior. | A list of integrations and API consumers, the interface each uses, and which system owners will test them. |
| Reports and PDFs | Custom reports, report templates and printed documents often change between versions. Each one needs visual and data checks against the old output. | A count of custom reports and PDF templates, and the sign-off process for layout and content. |
| Database and filestore size | Large databases and filestores lengthen conversion runs, copies for testing and final cutover. Old data that is no longer used still has to pass through the upgrade. | Database and filestore sizes, the planned approach to archiving, and how many full test copies are included. |
| Edition and hosting | Enterprise upgrades depend on an active subscription and the upgrade service. Community upgrades use OpenUpgrade and the team's own servers, which shifts more of the work to the client or partner. | Confirmation of the current edition, subscription status, hosting type, and who provisions the test and production environments. |
| Number of test cycles the business needs | Finance, sales, warehouse and reporting teams each need to run their own key flows on the upgraded copy. More cycles mean more retesting after each fix. | The planned number of test rounds, the business flows covered in each, and the defect handling rules between rounds. |
Rebuild versus upgrade: when starting fresh is the better path
A rebuild is the better path when the existing database carries more cost than value, and the only way to tell is to write both options down before deciding. A rebuild moves configuration, master data and the history you actually need into a current install, leaving the old code and undocumented changes behind. An upgrade carries the full database forward with its existing code, so every customization, workflow and transaction record comes along, including the parts nobody remembers building. Each path has a different cost profile: a rebuild spends most of its effort on process design, data mapping and testing of new configuration, while an upgrade spends it on porting code and checking what the database already does.
Conditions that favor a rebuild include heavy customization with little documentation, business processes that have changed enough that the old setup would need redesign anyway, and a chart of accounts or fiscal structure that must change. A rebuild also suits teams that want to retire modules they no longer use. Conditions that favor an upgrade include a stable configuration, custom code that is small and well tested, and a long transaction history that auditors, tax authorities or the business must be able to trace without a separate archive. Ask whether the accounting history can be reproduced in the new install, because a rebuild usually means opening balances and a separate archive for older records.
Before choosing, write a scope for each option that lists the modules in use, every custom module with its owner, the integrations and their API calls, the reports people rely on, and the data you must keep. Estimate the porting work for each custom module on the target version, and ask any partner to quote both paths from the same scope. Confirm your current Odoo edition and subscription status with Odoo, since the upgrade service described in the Odoo upgrade documentation requires an Enterprise subscription on-premise and is not available to Community databases.
Questions buyers ask before upgrading an unsupported Odoo database
Can the Odoo Enterprise upgrade service jump directly from Odoo 16 to a covered version?
Yes, the upgrade service can move a database from any version of the software to a more recent covered version, so a 16.0 database does not need to pass through each intermediate release. Under the Enterprise Subscription Agreement, covered versions are the 3 most recently released major versions, so the target must be one of those. Confirm the current list of covered versions in the agreement before you pick a target, because the set changes as new major versions ship. Your subscription must also be active for on-premise use.
- Check the covered versions in the Enterprise Subscription Agreement.
- Confirm your subscription status and the code you will activate.
Why does a Community database need OpenUpgrade instead of the Odoo upgrade service?
The Odoo upgrade service is available only with an Enterprise subscription, and the Community edition has no access to it. Community databases therefore rely on OpenUpgrade, a community project that migrates a database one major version at a time. Each step needs its own run, module coverage check and test pass, so the number of steps grows with the distance between your version and the target. Module availability for each step also has to be checked, since some Community modules may not be ported at every version.
What does an unsupported Odoo upgrade cost, and what drives the price?
The cost has four main parts: licensing, the migration work itself, custom module porting, and testing with business sign-off. Licensing is recurring if you move to Enterprise, and it is priced per user and plan on Odoo's pricing page, so ask for the subscription line in writing. Migration and porting are one-time costs that rise with the number of custom modules, OCA dependencies, integrations and the number of upgrade steps. DeployOpen does not publish prices. A quote follows from a written scope that lists these components, so ask any provider to break out each one.
How long does an upgrade from Odoo 16 take, and what sets the timeline?
No fixed duration applies to every database, so treat any single number as a claim to verify. The timeline is set mainly by the number of custom modules to port, the number of OpenUpgrade steps for Community, the count of integrations to retest, and how quickly your process owners can run test cycles. Freezing development during the project also affects the schedule. Ask for a plan with phases, a test database rehearsal and a production cutover date, and check each phase against your own change calendar.
What must our internal team provide before an Odoo upgrade starts?
Your team needs to provide working access to the source database and filestore, a recent backup, admin access to the hosting environment, and named process owners who can sign off test results for sales, finance, inventory and other key flows. A code freeze is needed once porting starts, so that custom code and data changes do not diverge from the upgraded copy. Provide a list of integrations with their credentials and owners, and confirm who approves the production cutover. Missing owners are one of the most common reasons testing stalls.
Can our own team run the upgrade without an outside partner?
Yes, a capable internal team can run an upgrade, particularly with Enterprise and few custom modules. The work still requires Python and PostgreSQL skills, experience with Odoo module inheritance and migration scripts, and time to run several test cycles. For Community databases, the team must also handle OpenUpgrade runs and check module coverage at each step. Assess your team's skills against the upgrade plan, and consider a partner for the parts you cannot staff or repeat within your timeline.
Should we rebuild the database on a new version instead of upgrading it?
A rebuild, which means reimplementing configuration and migrating selected data into a fresh database, can be the better choice when years of obsolete configuration, duplicate records or abandoned modules make the existing database hard to trust. An upgrade keeps history and configuration but carries forward every step and every custom module. Compare the cost of porting against the cost of reconfiguring and reconciling data, and record the reasoning in the plan so the decision is reviewable.
How DeployOpen scopes and delivers an Odoo upgrade
DeployOpen plans an upgrade from Odoo 16 or older unsupported versions as a written, fixed-scope engagement that starts with the database, the custom modules and the support status of your current release. We then build, test and document the move on an upgraded, neutralized copy before any production cutover.
How we scope
- Inventory the current version, database size, installed apps, and which Community or Enterprise edition you run
- List every custom module and integration, and mark which ones need porting across each intermediate version
- Agree in writing whether the Enterprise upgrade service or a step-by-step OpenUpgrade path fits your license and edition
How we build
- Run the upgrade against a copy of your database and produce an upgraded test database for review
- Port custom modules and migration scripts in version order, with a freeze on new development during the move
- Test key business flows, reports, integrations, scheduled actions and email settings on a neutralized copy
How we hand over
- Deliver a written record of each upgrade step, the modules ported, the changes made and the open issues
- Provide a cutover runbook covering backup, final data sync, production switch and rollback steps
- Document the test results so your own administrators and auditors can review the upgrade evidence
How we support
- Confirm the post-go-live support window and when your target version leaves standard support
- Offer ongoing support, upgrades and continuous testing as a retainer after handover
- Plan the next upgrade cycle before the current release nears the end of its support period

