Where the versions stand
Odoo ships one major version a year. According to Odoo’s support page, Odoo 20.0 came out in September 2026, with standard support until September 2029 (planned). Odoo 19.0, released in September 2025, is supported until September 2028, and Odoo 18.0 until September 2027. Odoo 17.0 lost standard support in September 2026.
Standard support covers the first three years and applies to Odoo Online, Odoo.sh and on-premise. Security updates are only shipped in that window. After it, paid extended support exists, but only on Odoo.sh for some versions and on-premise. You may upgrade to any major version that still has standard support, or that lost it less than six months ago.
Odoo Online adds one limit: a database on a major version has to be upgraded at least every two years.
Who runs the upgrade, and when?
| Hosting | Who runs the upgrade | Time pressure | What is left to you |
|---|---|---|---|
| Odoo Online | Odoo, on your request | major version at least every two years | testing an upgraded copy |
| Odoo.sh | you, from the project, using Odoo’s upgrade service | 19 is supported until 2028 | testing the copy and custom modules |
| On-premise, Enterprise | Odoo’s upgrade service | same | testing the copy and custom modules |
| On-premise, Community | you, usually with OpenUpgrade | security fixes for 19 until 2028 | everything: scripts, modules, tests, operations |
Our own status
We run Odoo 19.0 Community and came up from 18 with OpenUpgrade. All data moved 1:1 and 57 of 57 tests passed; Odoo 18 was removed on 18 October 2026. It went well because the tests existed before we started.
On 9 November 2026 we checked whether we were ready for Odoo 20. We were not: OpenUpgrade had 0 of the 21 modules we rely on done, and only 2 of our 9 OCA modules had been ported. OpenUpgrade does have a 20.0 branch on GitHub, but its default branch is still 19.0 (checked 20.11.2026). Our OCA modules include mail tracking, an audit log, contact relations and mass editing. We are not giving any of them up, so we stay on 19 until they are ready.
That is the key point of this page: it is rarely Odoo that decides when you can upgrade – it is your modules. Odoo says the same: a database with custom modules cannot be upgraded until those modules exist for the target version.
XML-RPC: move your integrations in the same round
Odoo 19 deprecates /xmlrpc, /xmlrpc/2 and /jsonrpc. They will be removed in Odoo 22 and in Odoo Online 21.1. We ran into this ourselves in Odoo 19, along with API keys that are valid for 90 days at most. Since you are testing a new version anyway, this is the moment to move your webshop, accounting and other integrations to JSON-2. How to do it is on the API page.
The test plan
Odoo’s own checklist is a good starting point: do your views display correctly, do invoices and orders print, does the website work, can you create and edit records, and do mail templates, translations, search filters and exports still work? Odoo also mentions integrations, automated actions and server actions. We add five things:
- The test database must not be able to send. Odoo’s upgrade service disables scheduled actions and outgoing mail in the test copy. If you run OpenUpgrade yourselves, that does not happen by itself. Run
odoo-bin neutralizebefore starting the copy. We once saw code come close to emailing customers because an id meant something other than expected. - The test copy must not disturb production. If the test database sits on the same server,
dbfilterhas to match exactly one database. Otherwise Odoo shows the database selector with HTTP 200, and simple monitoring sees no error. - Search for a phone number. After our last upgrade, a Python package for phone numbers was missing, and search returned nothing without raising an error.
- Count before and after. Contacts, leads, journal entries and messages should match. The code below checks it.
- Rehearse the rollback. An upgraded production database cannot be reverted in Odoo. We have rehearsed a restore of our offsite backup, so we know it works.
Code: checks before and after the migration
First, a SQL query to run on the old database. It lists the modules that do not come from Odoo itself, so you can confirm each one exists for version 20. Then you store the counts for comparison.
-- 1) Installed modules not made by Odoo: are they available for 20.0?
SELECT name, latest_version, author
FROM ir_module_module
WHERE state = 'installed'
AND (author IS NULL OR author NOT ILIKE '%Odoo S.A.%')
ORDER BY author, name;
-- 2) Baseline counts that must match before and after the upgrade
SELECT 'res.partner' AS model, count(*) AS total FROM res_partner
UNION ALL SELECT 'crm.lead', count(*) FROM crm_lead
UNION ALL SELECT 'account.move', count(*) FROM account_move
UNION ALL SELECT 'mail.message', count(*) FROM mail_message;
Save the result of part 2 as a JSON file, for example {"res.partner": 1250, "crm.lead": 340}. Then add a small test in its own module and run it against the upgraded copy. It compares the counts and checks that the internal note subtype is still internal.
# tests/test_upgrade.py in a small module, e.g. upgrade_checks
import json
import os
from pathlib import Path
from odoo.tests.common import TransactionCase, tagged
@tagged("post_install", "-at_install", "upgrade")
class TestUpgrade(TransactionCase):
def test_counts_match_baseline(self):
# Counts taken by the SQL check on the old database
baseline = json.loads(Path(os.environ["UPGRADE_BASELINE"]).read_text())
for model, expected in baseline.items():
with self.subTest(model=model):
found = self.env[model].with_context(active_test=False).search_count([])
self.assertEqual(found, expected)
def test_note_is_still_internal(self):
# Look records up by XML id, never by a hardcoded number
note = self.env.ref("mail.mt_note")
self.assertTrue(note.internal)
Run the test on the copy, and find the places where your own integrations still call XML-RPC:
UPGRADE_BASELINE=/tmp/baseline.json \
odoo-bin -d upgrade_test -u upgrade_checks --test-tags /upgrade_checks --stop-after-init
grep -rnE "xmlrpc|/jsonrpc" --include=*.py --include=*.php --include=*.js .
Our pick
Stay on Odoo 19 for now – plan 20 once your modules are ready
Odoo 19 has standard support until September 2028. There is no reason to rush, but there is a good reason to start testing in 2027.
In favour
- Use the wait to move integrations from XML-RPC to JSON-2
- Write the tests now, while the system works, so you have something to compare against
- Request an upgraded test copy several times, not just once
Watch out for
- Odoo Online: the major version has to move at least every two years
- Community: no upgrade service from Odoo – it is your own project
If you are choosing a system rather than a version, see Odoo vs Business Central. The operational mistakes we hit between upgrades are under Running Odoo.
Sources
- Odoo – Standard and extended support — versions, release dates and end of standard support, checked 20.11.2026
- Odoo – Upgrade — test checklist, neutralised test database, custom modules, no rollback, checked 20.11.2026
- OCA – OpenUpgrade — 20.0 branch exists, default branch 19.0, checked 20.11.2026
- Odoo 19 – External API — XML-RPC and JSON-RPC removed in Odoo 22 and Online 21.1, checked 19.11.2026
Questions about upgrading to Odoo 20
Should we upgrade to Odoo 20 now?
Not necessarily. Odoo 19 has standard support until September 2028. Start by checking that every module you use exists for version 20, and test on a copy.
Is the upgrade free?
With Odoo Enterprise, Odoo states that upgrading to the latest version is free, including help with discrepancies in the upgraded database. Custom modules are the maintainer’s job. Community users usually rely on OpenUpgrade.
Can we go back if something breaks?
Not inside Odoo. Once the production database is upgraded, it cannot be reverted. That is why you need a backup you have actually restored.
How long does it take?
It depends on your data and modules. Ask for several test copies along the way, and rehearse the whole run the day before, as Odoo itself recommends.
Fixed price, no commitment
Order a free Odoo check
Tell us briefly what you use today and what you want to achieve. A person answers by e-mail with a proposal and a fixed price before any work starts.
- A fixed price before we start
- An answer by e-mail, no calls
- Your details are used only to answer you