The problem
A multi-company database with payroll running on it every month had to move from Odoo 18 to 19. Custom modules and years of data sat on it, and the business could not stop for the upgrade or re-key anything afterwards.
1. Inventory first
Crawl every menu and window action to find the ones that open nothing, list the models no group can actually read, and record what each custom model still holds, so nothing is deleted on a hunch. The inventory found no broken window actions, and exactly one action the jump would break; it was fixed ahead of the upgrade.
2. Prepare production, not staging
The upgrade platform works from production’s own nightly backup, so the preparation has to land there. Whatever blocks the jump is switched off rather than dropped, in SQL so a broken registry cannot stop it, and switched straight back on once the backup is taken.
3. Port the modules
Drop what 19 removed (numbercall on ir.cron, the version prefix that made a module unloadable) and follow the contract into hr.version. The version-specific parts are chosen at import time, so the same branch boots on 18 and on 19 and the rollback stays real until the last minute.
4. Prove it, then open the doors
The same inventory runs again on the upgraded database and is compared line by line with the one taken before: menus, actions, record counts and the figures that pay people. Nobody logs in until the two agree.
The result
Production has run on Odoo 19 since August 2026, with no data moved by hand.