Back to BlogEngineering5 min read
Custom Odoo Modules: When to Configure, When to Customise, and How to Keep Upgrades Painless
Odoo is easy to customise, which is exactly how companies end up with unmaintainable systems. The decision rules, the module patterns, and the habits that keep a customised Odoo upgradeable.
SummationWorks Team

The best thing about Odoo is that a developer can change almost anything in an afternoon. The worst thing about Odoo is the same sentence. Hundreds of small "quick fixes" fuse into a fork nobody dares to upgrade, and the company ends up stuck on a version three releases behind and out of support. None of that is necessary.
This is our playbook for customising Odoo without losing the upgrade path: how to decide what deserves code, how to structure a module, and the engineering habits that keep each annual version's bill small.
The decision ladder
Before writing code, walk down this ladder and stop at the first step that solves the problem.
- Configuration. Settings, sequences, taxes, fiscal positions, routes, automated actions, email templates, access rights. Most "we need a customisation" requests end here once someone who knows the product looks at them.
- Studio (Enterprise). Extra fields, list and form tweaks, simple automations, report edits. Studio changes are stored as data, survive upgrades reasonably well and need no developer.
- Existing modules. The Odoo App Store and the OCA (Odoo Community Association) publish thousands of maintained modules. For a generic need, an OCA module with active maintainers is usually a better bet than custom code.
- A custom module. Your process is genuinely specific (a rental calculation, a laundry routing rule, a contractor's retention billing), and its business value justifies permanent maintenance.
"It would be nicer if" requests never reach step 4. Before anyone opens an editor, three questions should have answers:
- Which setting, Studio change or OCA module was tried first, and why did it fall short?
- What does the process earn or save that pays for maintaining the code every year?
- Who owns the module when the next version ships?
How to structure a custom module
A clean Odoo module is small, named for the business capability, and depends only on the modules it extends.
- One module per concern.
acme_rental_pricing, notacme_customisations. When a concern is retired, its module is uninstalled without touching the rest. - Inherit, never edit. Extend models with
_inherit, views with XPath, and methods withsuper(). Edits to core files evaporate on upgrade and break Odoo's own updates in between. - Business rules in Python, presentation in views. Computed fields and constraints belong in the model. A QWeb report should contain no logic.
- Data files for configuration. Sequences, default records and security rules ship as XML or CSV inside the module, so a fresh database reaches the same state.
- Security first. Every new model gets
ir.model.access.csvrows and, where needed, record rules. Odoo denies access by default to models with no rules, and the fix is not to grant everything to everyone. - Tests. Odoo's test framework runs on module install. Even a handful of tests on the pricing rule or the approval flow turns each upgrade from "hope" into "run the suite".
Integrations without pain
Most custom work in the GCC is integration: payment gateways, couriers, e-commerce storefronts, banks, mobile apps. Three rules cover most of it.
- Call the external API (XML-RPC or JSON-RPC) from outside, use controllers inside, and never let an external system touch the database directly.
- Make integrations idempotent. Deliveries get re-sent and webhooks fire twice. Store the external reference and skip duplicates.
- Queue anything slow. A ZATCA submission or a courier booking should not block a salesperson confirming an order. Use Odoo's job queue (the OCA
queue_jobmodule) or scheduled actions.
A mobile app built on Odoo follows the same rules: a thin API layer inside a module, rather than the app talking to models directly. See extending Odoo with a custom mobile app.
The upgrade habit
Odoo releases a major version every autumn and supports roughly the last three. A customised system stays upgradeable if you:
- Pin the version in the module manifest, and keep a changelog of what each module changes and why.
- Upgrade every year, or every second year at most. Two versions is a project; four is a rewrite.
- Run the upgrade in staging first. Enterprise's upgrade service returns a migrated database; you port the modules, run the tests and fix what changed. Community uses OpenUpgrade scripts and more manual work.
- Delete what you no longer use. Every custom module you carry forward costs time on each upgrade, so retire the ones whose business reason has gone.
- Prefer OCA modules over your own when both exist. The OCA ports them to new versions for you.
Our Odoo 19 and 20 upgrade guide walks through the cycle step by step.
Signs a system needs rescuing
- Core files have been edited: a
git diffagainst upstream Odoo shows changes outsideaddons/custom. - Custom modules are named after people or dates.
- There are no tests and no staging environment, and upgrades are "not possible".
- A single
customisationsmodule holds 40 models. - Business rules live, undocumented, in server actions and automated actions written in the UI.
Rescue is possible. It usually means rebuilding the custom layer as proper modules on a fresh, current version and migrating the data, and it is often cheaper than another year of workarounds. The first step is the ladder above, applied to every customisation already in the system, so that anything a setting can do goes back to being a setting. If the custom layer has grown larger than Odoo itself, it is also worth asking whether Odoo or a fully custom ERP is the better base.
SummationWorks builds and rescues custom Odoo modules and integrations for companies in the GCC and Egypt as part of our Odoo and ERP services. If your system shows the signs above, talk to an engineer.
About the author
SummationWorks Team
SummationWorks is a software development company building web apps, mobile apps, and AI tools for startups and growing businesses worldwide.
More about usRelated Articles

engineering8 min read
Rescue or Rebuild: What to Do With an App Another Developer Left Half-Finished
Your developer has gone and the app is half done. How to secure what you own, assess the code, decide whether to keep it, and what a proper handover includes.
SummationWorks Team

engineering6 min read
Odoo and ZATCA Phase 2: E-Invoicing Compliance for Saudi Businesses
Wave 24 closed in June 2026 and Wave 25 pulls in every business above SAR 187,500. Here is how ZATCA Phase 2 works, what Odoo does natively, and the setup steps that trip most companies up.
SummationWorks Team

engineering4 min read
Odoo 19 Today, Odoo 20 This Autumn: When and How to Upgrade
Odoo 19 brought AI into every app and a new interface; Odoo 20 arrives around October 2026. A practical guide to what changed, which versions are running out of support, and how to plan an upgrade that doesn't break your customisations.
SummationWorks Team
Have a project in mind?
Let's turn your idea into production-grade software.