Skip to main content
All insights

09 Nov 20268 minCodeCrafters

Upgrading Odoo 17 to 19 with custom modules: what breaks and how to plan it

Why version upgrades get stuck on custom modules, what Odoo's upgrade service does and does not cover, what usually breaks between versions, and a step-by-step upgrade plan.

OdooUpgradeMigrationCustom modules

Odoo releases a new major version every year, and each one changes the code underneath. Upgrading standard Odoo is mostly routine. Upgrading Odoo with custom modules is where projects stall, because every custom module has to be rewritten for the new version and tested against your real data.

What Odoo's upgrade service covers, and what it does not

Part of the systemWho upgrades it
Standard Odoo data (Enterprise)Odoo's upgrade service migrates the database for standard modules
Standard Odoo data (Community)You or your partner, typically with community tools such as OpenUpgrade
Your custom modulesYou or your partner: code must be rewritten for the new version
Third-party apps from the Odoo Apps StoreTheir authors, if they publish a new version; otherwise you or your partner
Studio customizationsMostly carried by Odoo's upgrade; check them in testing

What usually breaks between versions

  • Views: XML views that inherit standard screens break when Odoo changes those screens.
  • Front-end code: JavaScript widgets need updating as Odoo's OWL framework evolves.
  • Fields and models: renamed, moved or removed fields that custom code depends on.
  • Python APIs: deprecated methods and changed behaviour in core models.
  • Reports: QWeb invoice and document templates that relied on old structures.
  • Integrations: external API calls and connectors written against old endpoints.

A step-by-step upgrade plan

  1. 01Inventory: list every custom and third-party module, who uses it and what it does.
  2. 02Prune: drop modules nobody uses, and replace custom code where the new Odoo version now does the job natively.
  3. 03Rewrite: port the remaining modules to the target version.
  4. 04Test upgrade: upgrade a copy of the production database and run your key processes end to end.
  5. 05Reconcile: compare record counts, stock values, balances and open documents between old and new.
  6. 06Fix and repeat: usually two or three test rounds.
  7. 07Cutover: a planned window (often a weekend), with the old system kept read-only as a fallback.

How long it takes

SituationTypical duration
Standard Odoo, few or no custom modules1 to 3 weeks
10 to 30 custom modules4 to 8 weeks
Many custom modules, several versions behind, integrations2 to 4 months
Typical ranges, not a quote: testing time grows with the number of custom modules, integrations and versions skipped.

Should you skip versions?

Staying on an old version gets more expensive every year: fewer security fixes, more changes to absorb later, and new features you cannot use. Jumping several versions at once is common and often cheaper than upgrading every year, provided the custom modules are rewritten directly for the target version rather than stepped through each one.

We have upgraded clients across five major versions (v14 to v19) while they kept trading, with zero data loss. See Odoo migration and upgrades and Odoo customization.

Written by

The CodeCrafters engineering team

CodeCrafters exists because most enterprise software is fragile, and the reason is almost never the software. It is the depth of thinking behind it. We were built out of years spent inside a major ERP vendor watching rollouts that technically shipped and never actually landed.

Free download

The AI Readiness Checklist for CTOs.

14 checkpoints we run before any automation engagement. Ten minutes to fill in. It tells you where the money is, and where the risk is.

  • Where your data actually lives (and who can read it)
  • Which processes are automatable in 30 days
  • The three failure modes that kill AI pilots
  • A scoring sheet you can hand to your board

No spam. Unsubscribe any time.

Apply it

Want this run on your systems?

Send us the version of this problem you actually have. We will tell you what we would do about it, and whether it is worth doing.

Straight to the engineerReply in 4 business hoursNDA on request

Accepting new engagements · Q4 2026