How upgrading Odoo on Odoo.sh works and when it becomes mandatory
A major upgrade on Odoo.sh runs staging first. The team upgrades a staging branch, ports custom modules in the repository, tests the resulting build, and only then cuts over production. Production stays on its current version until that testing passes, so the upgrade is a rehearsal you can repeat rather than a single event. If your Custom plan database is approaching a major version deadline, the first question is whether the upgrade path and the module work fit the time left before the version falls out of support.
The deadline is set by Odoo's upgrade rules, not by your project plan. Odoo states that Odoo Online and Odoo.sh require major version upgrades every two years, and standard support covers the first three years after a major release on Odoo Online, Odoo.sh and on-premise. Odoo.sh is only available on the Custom plan, which is also the only plan that includes custom modules, so a Custom database with custom code carries the most upgrade work. Confirm the current Odoo.sh upgrade mechanics, including how the platform schedules the cycle and what it requires of the branch, in the Odoo upgrade documentation.
The supported path is the Enterprise upgrade service. It moves the database to a newer supported version through an upgraded test database, and Odoo expects that test database to be tested before production is touched. Your team should therefore plan for three things before the staging branch is created: a named owner for the functional test script covering key business flows, reports, integrations and scheduled actions, a developer who owns each custom module's port, and a cutover window agreed with the business. Ask whether your current Odoo.sh contract and the target version are both covered, and get the test database schedule in writing. Also check the support end date of your current version against the calendar, because standard support determines whether security patches still arrive while the project runs.
What changes between Odoo 18, 19 and 20 that affects an Odoo.sh upgrade
This table lists the changes in Odoo 18, 19 and 20 that most often affect a major upgrade on Odoo.sh, with the impact on your database, integrations and custom modules and the action to take. Check each row against the release notes for your target version, because the list is not complete. The main takeaway is that custom code and integrations usually need the most work, and the support end dates set how soon you must move.
| Change | Impact | Action needed |
|---|---|---|
| PostgreSQL 13 minimum for Odoo 19 | The database server must meet the Odoo 19 minimum before the target build can run the upgraded copy. | Confirm the PostgreSQL version used by the target Odoo.sh build and check the database before the staging upgrade. |
| Fiscal position tax mapping change (Odoo 19) | Tax mapping on fiscal positions can change how taxes apply on invoices and reports after the upgrade. | Compare sample invoices and tax reports on the upgraded staging copy with production before cutover. |
| New JSON-2 external API (Odoo 19) | Integrations that call the external API may need new endpoints, payloads or authentication. | Inventory every integration, port its calls to JSON-2 in the repository, and retest on staging. |
| End of XML-RPC for integrations | Scripts and connectors that use XML-RPC will stop working once the old interface is removed. | Find all XML-RPC clients, confirm the removal version in the release notes, and replace or update them. |
| Mail tracking rework (Odoo 20) | Message tracking and mail behavior on records can change, including on custom models. | Test chatter tracking and outgoing mail on key records and review any custom mail code. |
| Expense flow changes (Odoo 20) | Expense submission, approval or posting steps can differ from the current workflow. | Walk expense users through the staging build and check custom approvals, reports and scheduled actions. |
| Module porting forced by each change | Custom modules that depend on changed APIs or models will fail to install or behave differently. | Port each custom module to the target version in its own branch, then run tests on the upgraded staging copy. |
| Support end dates | Odoo 17.0 standard support ended in September 2026, 18.0 ends in September 2027 and 19.0 in September 2028. | Confirm current dates in Odoo's support documentation and choose the target version with those dates in mind. |
How the staging branch, repository and production fit during an upgrade
The upgrade starts from the production branch, which stays untouched while work happens elsewhere. A staging branch receives a copy of the database, and the custom modules in the repository are ported and committed there so the staging build runs the new code against the upgraded data. The team then runs its test checklist on that build and makes a go or no-go decision. Only a go moves the ported code and upgraded database into production, and a no-go leaves production exactly as it was.
Staging takes the copy and ported code; production changes only after a go decision.
What to prepare before the staging upgrade starts
Most delays in an Odoo.sh upgrade come from work done before the staging branch is touched. The six items below set the baseline the staging upgrade is tested against, and each one has a named owner on the client side. Settle them in the order listed, because the backup and the inventory decide what the test copy and the freeze must cover.
Full production backup
Take a complete backup of the production database and filestore before any upgrade step begins, and confirm that it restores. Record where the backup is stored, who can restore it, and how long a restore takes in your environment. The database holds the business data, and the filestore holds attachments, generated reports and images, so a database-only backup is not enough. The client's infrastructure or operations lead owns this, and the restore test should be witnessed by someone other than the person who made the backup.
Inventory of code and customizations
List every custom module, third-party module and OCA module in the Odoo.sh repository, with its current version and source. Add the Studio customizations that live in the database rather than in code, because they do not show up in Git and must be checked after the upgrade. For each item, note whether a ported version exists for the target release. The development lead owns the code list, and the functional lead owns the Studio list.
Development freeze on custom code
Agree a date after which no custom code is merged to the branches that will be upgraded, and hold that date for the whole upgrade window. Without a freeze, the staging branch is ported against a moving target and each new commit can break the migration. Exceptions should go through the project lead and be ported in the same change set. The project lead owns the freeze, and the development team must agree to it before the window opens.
Neutralized test copy
Prepare a copy of production for testing that is neutralized so it cannot send email, call live payment providers or contact external services by mistake. Confirm that outgoing mail, scheduled actions and integration endpoints are disabled or pointed at test systems before anyone logs in. Name the person who checks the neutralization and records the result. The operations lead owns the copy, and the security or IT lead should confirm that test data access follows the client's data handling rules.
Integrations and scheduled actions list
Write down every integration that reads from or writes to Odoo, including APIs, webhooks and connectors to banks, payment providers and shipping carriers. Add every scheduled action, outgoing mail server, and payment provider setting that must be verified on the upgraded copy. Assign a test owner to each item, because an integration that is not on the list is usually discovered after go-live. The functional lead owns the list, and each integration owner confirms their endpoints.
Named owners and sign-off
Set one owner for each preparation item and one overall sign-off owner who accepts the staging result before production is upgraded. Record who may approve exceptions to the freeze and who may restore production if the upgrade fails. Agree how long the production window is held open and who is informed of the outcome. The executive sponsor or project lead owns the sign-off, and the named owners confirm their items in writing before the staging upgrade starts.
The upgrade sequence on Odoo.sh, step by step
This sequence moves a production Odoo.sh project to a new major version through a staging branch, so custom code, data and integrations are proven on an upgraded copy before anyone changes production.
Confirm target version and support status
Before any build work starts, the project owner and the technical lead confirm the target major version against Odoo's standard and extended support documentation, and check the date on which the current version leaves standard support. Confirm which version your Odoo.sh plan and subscription allow, and whether Odoo.sh currently offers extended support for your version. Record the target version, the decision owner and the planned production cutover window in writing. The step is done when the target is approved and every custom module has an owner.
Create the staging branch for the upgrade
Create a staging branch from the production branch in the Odoo.sh project so the upgrade runs against a copy of live data and configuration. Confirm in current Odoo.sh documentation how the staging branch is created, how it is set to the target version, and whether the upgrade is requested from the branch screen or by Odoo support. Keep production untouched while this branch is in use. Record the production commit hash and the database backup taken before the request. The step is done when the staging branch exists, its source commit is recorded, and a restorable backup of production is confirmed.
Port custom modules in the repository
Developers update each custom module in the project repository for the target version, covering changed APIs, views, inherited methods, assets and any migration scripts the module needs. Changes are committed to a dedicated upgrade branch so they can be reviewed and reverted separately from the freeze. Run the module installation and update against the upgraded database, not on a fresh database alone. The check is a clean module install and upgrade log with no errors on the staging build, and a code review of every migration script. Keep the pre-port commit as the rollback point for the code.
Run the upgraded test build
Trigger the upgraded test build on the staging branch and wait for the build and database upgrade to finish. Review the build logs for failed module updates, deprecated calls, missing dependencies and warnings that point to broken data. Confirm that the database upgrade completed and that the staging instance starts and serves login pages. If the build fails, the rollback point is the last successful staging build, and the code can be reverted to the pre-port commit without touching production. The step is done when a green build serves a working staging instance.
Check reports, integrations and scheduled actions
Test the business flows that matter most on the staging instance, including sales, invoicing, stock moves and payments, and print each key report and PDF to compare layout and totals against production. Confirm that integrations, API calls, email and payment settings point at test endpoints and that scheduled actions are either paused or intentionally enabled on staging. Compare key data counts and balances with production for the same date range. Record each check with a pass or fail result. The step is done when every key flow has a recorded result and no failed item is left unassigned.
Fix defects and retest on staging
Triage each defect from the testing step into a code fix, a data or configuration fix, or a decision to accept the behavior change, and assign an owner to each. Make fixes on the upgrade branch, push them to staging, and rerun the affected tests along with a short regression pass on the core flows. Keep a defect log with the commit that resolved each item so the cutover checklist can be traced. The step is done when all blocking defects are closed and the regression pass is recorded.
Schedule the cutover and freeze production changes
Agree the cutover window with the business owners, and freeze development and configuration changes on production from the moment the final staging build is approved. Confirm who may run the production upgrade, who signs off the result, and who can trigger the rollback if needed. Take and verify a fresh production backup just before the window opens, and note its identifier. Share the rollback procedure with the on-call team, including how to restore the pre-upgrade backup and which branch to redeploy. The step is done when the freeze is announced, the backup is verified, and the sign-off roles are written down.
Upgrade production and run post-upgrade checks
Merge the approved upgrade code into the production branch and run the production upgrade as confirmed in current Odoo.sh documentation. Once the upgrade completes, repeat the core business flow checks, confirm reports render, check that scheduled actions, email and payment settings are correct for production, and compare key counts with the pre-cutover snapshot. Lift the freeze only after the sign-off roles approve the results. If a blocking issue appears, the rollback point is the verified pre-upgrade backup. The step is done when the signed-off checklist is filed and the freeze is lifted.
Which upgrade path fits your database: direct, with custom code or with OCA modules
A database with no custom code runs only standard apps from the Odoo.sh repository, so it needs the least staging work. Nothing in the repository has to be ported, which means the effort goes into proving that business behavior is unchanged on the upgraded copy. Odoo's upgrade service moves the database to the newer version and produces an upgraded test database, which should be tested before production. Odoo's upgrade documentation describes the process.
- Staging work. Build the staging branch on the target version, run the upgrade on a copy of production and confirm the upgraded test database loads without errors.
- Sign-off. Process owners for finance, sales, inventory and HR approve their own flows, and the business sponsor approves the cutover date.
- Where it stalls. Teams often find gaps in reports, PDF templates and scheduled actions that were not in the test script.
- Version check. Confirm with Odoo which upgrade path and target version apply to your current release before you book a window.
- Enterprise subscription. Confirm that your subscription covers the upgrade service for the Odoo.sh database.
Before cutover, check that the test copy was run against a written list of flows and that the cutover plan names the person who can stop the upgrade.
Custom modules live in the Odoo.sh repository alongside standard code, so the staging branch cannot be upgraded until the code is ported to the target version. A database waiting on ported code cannot move, however ready its data is. Porting is a developer task, so the schedule depends on the developers as much as on the upgrade itself.
- Staging work. Freeze development on custom modules, port each module in its own branch and build it on staging against the upgraded database.
- Sign-off. The development lead approves the ported code, and functional owners approve the custom flows each module changes.
- Where it stalls. Customizations that depend on fields, views or methods changed in the new release need rework, and teams often discover this late.
- Build testing. Run each build against an upgraded, neutralized copy and check custom reports, automations, and integrations separately from standard flows.
- Migration scripts. Write and test any data migration scripts on the staging copy, not on production.
Before setting a cutover date, review the porting backlog module by module, because one unported module blocks the whole database.
Modules from the Odoo Community Association or the Apps Store are written and maintained by different authors, so each one has its own port status for each version. The database cannot move until every dependency has a version that works on the target release. Checking coverage is the first step of this path, not a final check.
- Staging work. List every third-party module, confirm its port status for the target version, and decide for each one whether to port it, replace it with standard features or remove it.
- Sign-off. Finance or operations owners approve each replacement, because a changed module can change accounting or stock results.
- Where it stalls. A module with no published port for the target version blocks the upgrade, and writing and testing a fork takes time.
- Dependency chains. A module may depend on another module that has not been ported, so review the full dependency list, not only the modules you installed directly.
- Licensing. Confirm each module's license terms before you fork or copy its code into your repository.
Before staging starts, record the port status of each module in writing and record who accepted each replacement or fork.
Rollback and the point of no return in a production cutover
Before cutover, rollback is mostly a matter of not deploying. The production branch on Odoo.sh stays untouched while the upgraded code and database are tested on the staging branch, so if testing fails, production keeps running the old version and nothing has to be reversed. The decision that matters is the go or no-go checkpoint: agree in advance which test results must be green, who signs them off, and what happens to users if the upgrade slips. Treat the staging result as the rehearsal for production, not as proof that production will behave the same way, because production carries live data, live integrations and live scheduled actions.
After cutover, the point of no return is reached as soon as users enter new records on the upgraded production database. Restoring the pre-upgrade backup returns the database to its earlier state, but every order, invoice, payment or stock move entered during the cutover window is lost unless it is re-keyed or reconciled by hand. For that reason the write freeze and the cutover time must be agreed in advance with finance, sales, warehouse and integration owners, and the freeze must be enforced for the full window, including API callers and automated imports. Name one person who can call a rollback, and write down the data each team must capture manually if that call is made.
Confirm the restore procedure, the backup schedule and the retention period on Odoo.sh with Odoo's documentation and against your own backup policy before the cutover date, not after. Check who can trigger a restore on the Odoo.sh project, whether the pre-upgrade backup is taken and verified immediately before cutover, and how long backups are kept. Then ask whether your recovery objectives can be met with that procedure. Plan and rehearse the restore on a copy so the team has seen it work, and record the steps and the time it took in your own runbook rather than relying on an estimate.
What makes an Odoo.sh upgrade take longer
This table lists the factors that most often stretch a major Odoo.sh upgrade, why each one adds work, and how to reduce it before the staging branch is created. Read it as a checklist to score your database before you ask a partner for a scope. The main takeaway is that custom code and the number of people who must sign off usually matter more than raw database size.
| Driver | Why it adds effort | How to reduce it |
|---|---|---|
| Number and age of custom modules | Each custom module must be ported to the target version and rechecked against changed standard features. Old modules written against several past releases need more rework. | Inventory every custom module with its target version, remove unused ones, and freeze new development on the modules being ported. |
| Studio customizations | Studio changes live in the database rather than the repository, so they must be reviewed on the upgraded staging branch and may need rebuilding by hand. | List every Studio view, field and automation, and decide which ones to keep, convert to code or drop before the upgrade starts. |
| OCA or third-party modules without a ported version | A dependency with no version for the target release blocks the build until it is ported, replaced or removed. | Check port status per module and version early, and confirm the owner of each module who will fix it if no port exists. |
| Integrations using XML-RPC or the JSON-2 API | External systems calling older XML-RPC endpoints or the JSON-2 API need code and credential changes, and each one needs its own test. | Count every connected system, record which API each one calls, and plan its change alongside the upgrade rather than after go-live. |
| Database size and filestore size | Larger databases and filestores take longer to copy, upgrade and verify, and they make repeated test runs slower. | Archive old records and attachments where policy allows, and confirm with Odoo.sh how the copy and filestore are handled for your plan. |
| Number of companies and fiscal localizations | Each company may carry its own chart of accounts, tax setup and fiscal position mapping, which all need checks after the upgrade. | Document which companies use which localizations and assign an owner to verify tax and accounting results for each one. |
| Number of stakeholders who must test | Every department that signs off adds test cycles, scheduling and defect triage, and sign-off can stall when owners are unavailable. | Agree a named list of testers and their key flows before staging opens, and set a single defect log with one owner. |
| Versions the database must cross | Each major version adds its own module changes, data migrations and test cycles, so a database several versions behind needs more stages. | Confirm the upgrade path with the Odoo upgrade documentation, and ask whether the database can move in one step or needs intermediate stops. |
Common questions about upgrading Odoo on Odoo.sh
What drives the cost of upgrading Odoo on Odoo.sh?
The cost depends on the written scope: how many custom modules need porting, how much of the customization overlaps with standard features in the new version, how many integrations and reports must be retested, and how many environments the work covers. Each cost component is a separate line you can ask about: Odoo licensing for the Custom plan (the only plan that can be hosted on Odoo.sh), the upgrade work itself, module porting, testing, and cutover. Licensing is recurring, while porting and testing are typically one-time project costs. Ask any partner for a quote that lists each module, each integration, the test cycles and the cutover window separately, so you can compare proposals on the same basis. DeployOpen builds its quote from a written scope agreed before work starts.
How long does an Odoo.sh major upgrade take?
Duration is set by the amount of custom code, the number of test cycles on the staging branch, and how long business users need to validate processes before production moves. A database with no custom modules and few integrations generally takes less time than one with many ported modules and external API connections. Odoo's documentation says the upgraded test database should be tested before production, so plan for at least one full test cycle plus fixes and a retest. Do not accept a duration without asking which phases it includes and which client tasks it assumes, such as user acceptance testing and sign-off. DeployOpen states timelines in the written scope rather than as a general estimate.
What must our team provide and decide before an upgrade starts?
Your team owns the business decisions and the validation. Before work starts, you need to confirm which business processes are critical, who signs off each test area, which integrations and scheduled actions must work on day one, and which custom modules are still needed. Your team should also freeze development on the production branch for the upgrade window, provide access to the Odoo.sh project and repository, and name a person who can approve the cutover date. Engineers will need a current backup, documentation of any external connections and their credentials handling, and a list of users who will run acceptance tests. Ask any partner to confirm these responsibilities in the scope document.
Can our internal team upgrade Odoo.sh without a partner?
Yes, a capable internal team can run an Odoo.sh upgrade if it has Python and Odoo developers who know the custom modules, time to port and test them, and business owners who can validate the results. The Odoo upgrade documentation describes the upgrade on the staging branch, so the process is documented. The main risks for internal teams are underestimating module porting work, missing scheduled actions or integration failures during testing, and running out of time before the mandatory cycle deadline. A partner adds value mainly where skills, capacity or independent testing are missing. Decide based on a skills inventory of your own team and a comparison of quotes, not on the assumption that either route is cheaper.
Can we skip or delay the upgrade past the two-year cycle?
Odoo's documentation says major version upgrades are mandatory every two years on Odoo Online and Odoo.sh, so skipping the cycle is not an option on that hosting type. Delaying is limited by the support windows. Standard support covers the first three years after a major release, including security updates and bug fixes, on Odoo Online, Odoo.sh and on-premise. Extended support is paid and limited to Odoo.sh for select versions and on-premise, and security patches are only provided during standard support. Check the current support end dates for your version, which Odoo publishes, and plan the upgrade window with enough margin before the version you run leaves standard support. Ask your Odoo contact or partner to confirm what extended support covers for your version.
What happens to a database that is not upgraded?
A database that stays on an old version eventually loses standard support, which means no security updates or bug fixes from Odoo during that period. On Odoo.sh the mandatory major upgrade cycle means the platform will require the move to a supported version. Extended support may be available for select versions on Odoo.sh, but it is paid and should be checked for your specific version. Running an unsupported version exposes the business to unpatched vulnerabilities and to compatibility issues with newer browsers, Python and PostgreSQL requirements. Confirm with Odoo which options apply to your version and hosting plan before deciding to delay.
What does a fixed-scope upgrade engagement from DeployOpen include?
DeployOpen plans, ports custom modules, tests and supports upgrades of self-hosted open-source platforms, and most engagements are fixed-scope with scope, deliverables and timelines agreed in writing before work starts. For an Odoo.sh upgrade, the written scope typically covers the staging upgrade, porting of the modules named in the scope, test cycles on the upgraded branch, the cutover to production, and documentation of changes. It does not include issuing audit reports or certifications, and it does not cover work outside the agreed scope unless a change request is signed. Ongoing support, upgrades and testing are available as retainers. Ask for the deliverables list and acceptance criteria in writing before you compare any quote.
How DeployOpen scopes, tests and supports an Odoo.sh upgrade
DeployOpen plans and carries out Odoo.sh upgrades as fixed-scope work agreed in writing before the build starts. The work covers the staging branch, custom module porting in the repository, test builds and the production cutover, with handover documentation and optional ongoing support.
How we scope
- Inventory every custom module, its dependencies and the Odoo version it currently targets.
- Confirm your Odoo.sh plan and which hosting and support terms apply to the target version.
- Agree in writing which business flows, integrations and reports the upgraded staging branch must pass.
How we build
- Run the upgrade first on a staging branch so production stays untouched during porting.
- Port custom modules in the repository, then push test builds and review each build's logs.
- Rehearse the production cutover on a neutralized copy before the scheduled production upgrade.
How we hand over
- Document the branch structure, module changes, migration scripts and the test results for each build.
- Record the cutover steps, rollback considerations and the checks your team runs after go-live.
- Walk your developers and administrators through the repository layout and the next upgrade cycle.
How we support
- Offer ongoing support, upgrades and continuous testing as a retainer after the upgrade completes.
- Confirm the upgrade calendar for your version so the next mandatory cycle is planned early.
- Ask for a quote built from the written scope, covering one-time porting work and any recurring support.

