Skip to Content

How We Build Odoo Customizations That Survive Upgrades

Customization is only risky when it’s built carelessly. Documented intent and disciplined extensions let Odoo customizations move from version to version at a predictable, modest cost.

I was invited to a meeting regarding an automated BOM release customization that had been created in SAP to ensure that product data was correctly handled between the unclassified and classified areas of my client’s sites. I had recently returned to begin consulting with this client after a three-year hiatus and assumed they were looking for help understanding their configuration strategy because I was completely unfamiliar with the scope of the call. During the meeting, we pulled up the functional specification and started reviewing it live, my eyes straining to understand after a few minutes what the point of the customization was because it appeared complicated. Finally, I said out loud, “Who wrote this spec, anyway?” I think I had hoped we could reach out to them and get their input. Scrolling up to the header I saw: It was me. I had written this spec. Ten years earlier. It started to come back to me then. A bit surprised, eyebrows raised, I recommitted myself to trying to unravel its mysteries.

Waterfall, Agile and who owns the design

That functional specs should be living breathing documents was ingrained into my brain early on in my career. The spec governed the software customization. Effectively the business analyst “designed” the software. They might spend a lot of time consulting developers or the end client, but the expectation is that the developer just implements the design rather than designing the design. This is common in the Waterfall development strategy. When I initially began working with developers outside of the SAP ecosystem this concept was completely foreign. There are no functional specs in the Agile methodology. The entire Requirements Gathering to Design workflow is instead owned by the software engineers and at some point twenty years ago the entire industry just became okay with this. This does make sense where a company’s ultimate product is the software itself. But in the context of business software, the vast majority of software developers have very little business knowledge or experience. I found myself instead continually battling with engineers who saw every sprint as an opportunity to reinvent the wheel in whatever untested idea tickled their fancy.

When you have a great architect who truly understands what the end customer needs and who is ultimately trying to make them happy, you can generally build a working product. What I saw instead was the wrong organization, IT, owning the business systems instead of the correct one, Finance. These two organizations are incentivized completely differently, but in Silicon Valley it seemed like no one questioned the fact that software should be owned by software developers.

The code is not the documentation

To finish this point, I recently asked a well-respected developer about how we could know what the design intent was behind a bit of custom software and he said “The code is the documentation.” That really struck me. It makes sense. The code is the tautological proof of its own effect. But of course, this is silly. The code rarely carries intent. The “Why” of its existence. For that you have to have further documentation upstream.

What documenting intent used to cost

At Tesla, I found myself fighting with engineers who knew very little about business processes or business systems and who treated every requirement as a chance to reinvent the wheel. What those projects were missing was an architect: someone who knows the business deeply, who can say what a customization is supposed to accomplish, and who can look at the finished product and judge whether it actually does that. Without that person, nobody upstream of the code owns the intent.

So on every project, I followed the same path. Blueprinting had to deliver a set of artifacts. The first was the functional spec, or a set of user stories, depending on the scope of the project. The second was acceptance criteria, and this one is key. We learned early on that our developers would keep driving the car even after the road ended, simply because there was no sign telling them to stop. Acceptance criteria are that sign.

We also tried automated testing. At the time, it was essentially double development: the developer builds the development, then builds a script to test it. If another development later superseded the original, someone had to remember to update the test as well. In an Agile model, where different teams are deploying code constantly, keeping those scripts current becomes its own layer of management. What we ended up with instead was a set of manually performed regression test scripts. In most cases they were close to useless, because they tested 100% of the system even when only 5% of it had changed. We kept running them anyway, because of that one time we crashed the system when a seemingly innocuous change turned out to have deeper effects across the whole project.

Managing a customization from intent all the way through delivery and maintenance is a costly affair. And that assumes we got the intent right in the first place. Sometimes we didn’t, and the client hated the result. Yuck. That’s always a fun one.

What AI agents change

So how do we do this now? Well, if I had written this article in 2024 it would have ended with “just do the above things at the level of burden (read: ‘overhead’) that the client can afford and do them betterer than everyone else.” This was our differentiator. It was actually in our proposals, project scope and one of our selling points as in contrast to all of those lazy software teams whose keyboards were on fire from all of their rapid development. (Undocumented, of course). I joke here, of course. But it is crazy how much product is deployed without any real documentation as to what it does or why it does it.

But it isn’t 2024, it is 2026. And I can have an AI agent that we’ve trained in our strategies and processes debug errors, propose and deploy fixes and mock up entire business processes from scratch in a matter of minutes. I can have that same agent review a client’s custom code base and look for flaws or inefficiencies. I can have it check our own bias and preconditioned strategies because technologies have changed and maybe there is an opportunity for us to incorporate those changes. The agent can upgrade third-party modules. It can even upgrade entire databases. If this sounds a lot like Vibe coding, in a sense it is. But the difference is we bring our business knowledge and years of experience to bear on what a good result should look like. And our development leads review the more complicated bits to make sure the code is hardened and ready for battle.

Figure 1. Where the cost of documentation lands over the life of a customization. Illustrative, based on S4 Solutions project experience.

Figure 1. Where the cost of documentation lands over the life of a customization. Illustrative, based on S4 Solutions project experience.

Going past the vendor’s solution

AI is all the rage. It will apparently both save and doom humanity all at the same time. Apart from the terrifying prospect that anyone who sits in front of a computer all day will probably have a job that is nothing like the one they are currently performing in a year’s time, in one way as a business consultant it is a breath of fresh air. In our industry, if we do our jobs really well, we bring a business up to a level of operation that is, let’s say “standard” in an industry. If they have disjointed processes or old systems, we bring them from some negative qualitative state to a zero-state. And that part of the job feels good, when you can truly make someone’s life easier. But in the context of business software, you are generally limited by a) the vendor’s solution and b) the amount of money your client wants to invest in customizing beyond that solution. I have implemented SAP’s capacity management suite twice in my career and in both times had to look at the dejected faces of the plant managers who are just unimpressed at the end result. It just kind of sucks. All the button clicking, interfaces that were designed 30 years ago. (This is not hyperbole. You can still see screen layouts from the 90’s that match what you see today). Instead, pairing AI with extremely agile platforms like Odoo allows us to ultimately deliver a product that is actually useful. It’s not enough to just implement the vendor software package. We can actually improve on it and better it to meet our client’s needs.

How we customize to survive upgrades

Customization is only risky when it's built carelessly; disciplined Odoo extensions can move from version to version at a predictable, modest cost. I discuss at length when a company should customize and when conform here. It isn’t as you might guess from the above a blanket “Customize everything. All the time.” approach as you might expect.

So how do we customize to survive upgrades? Let’s just say off the bat, that maybe it shouldn’t! At S4 Solutions, we spend an appropriate amount of time 1) documenting intent and 2) expected outcomes and 3) using coding best-practices that comply with the software we are augmenting. The intent is really important, because technology is constantly evolving. What may have been a necessary driver at one point might be superseded now. At each upgrade cycle, we work with our clients to first evaluate whether the customization is actually needed anymore. If not, we deprecate it. Knowing why it was there in the first place is critical in conducting this evaluation. If we do decide to retain it, knowing what success looks like (from our well-documented expected outcomes) helps us to evaluate whether it has survived the upgrade cycle. And if we have done our job extending the vendor platform where possible and complying with best practices for that software package, we are that much more able to ensure that expected outcome at the end of the upgrade.

How we can help

Custom development. If you’re weighing a customization, or carrying ones that nobody can explain anymore, contact us to learn more about how we help our clients design, document and build Odoo customizations that are worth keeping.

Odoo upgrades. Planning a move to a newer version of Odoo? Ask us about upgrading your Odoo environment. We start by reviewing every customization against its original intent, so you only carry forward the ones that still serve a purpose.

It All Starts with Your Production Line
Your production line should drive your Bill of Material and your material replenishment, not the other way around.