Hi,
I'm wondering how to manage an upgrade with odoo.sh while having legacy code on my production database.
Context
- Odoo.sh project. Production is on Odoo 15.
- I prepared an upgrade test to v18 in a staging/upgrade branch.
- The production database still contains legacy modules that will no longer be use. I cannot uninstall them on production right now, and I don’t want to port them to v18 just for the test.
- Odoo.sh upgrade branches restore from the latest production backup, so those legacy modules (and their records/views) are pulled into the upgrade build and cause registry/view errors.
Question
What’s the supported way on Odoo.sh to run a test upgrade without affecting production and without uninstalling those legacy modules on prod?
Specifically:
-
Can I point the upgrade branch to a specific sanitized dump (where I’ve already uninstalled/disabled the legacy modules) instead of always restoring “latest production”?
- If DB pointing isn’t available, is it acceptable to ship a temporary v18 “dummy” module (same technical name as the legacy one) that simply neutralizes its views/records (or provides shim fields) so the upgrade can proceed—any official guidance on this pattern? Although it will most likely break as old code will not follow the new guidelines...
Thanks!