Upgrade a configured module list with its installed local dependencies - #143
Merged
Merged
Conversation
Odoo's -u upgrades a module's dependents, not its dependencies, so a deploy that names the tenant's install list never loaded data changes in the local addons it depends on until the next restore. Add their installed local dependency closure, the same closure AUTO already uses. Refs #142
Contributor
Author
|
Review by another model: OpenAI |
shiny-code-app Bot
added a commit
that referenced
this pull request
Sep 30, 2026
…40250be2900672f: merge PR #143
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
A deploy never loaded data changes in a tenant's dependency addons. Launchplane's post-deploy names the artifact's install list in
ODOO_UPDATE_MODULES, and Odoo's-uupgrades a module's dependents, not its dependencies. So a new cron, view or record in an addon such as OPW'sshopify_syncstayed unloaded until the next restore, while its Python code was already live. Tonight's opw/testing deploy is the evidence (#142):opw_customwas upgraded andshopify_syncwasn't, so the cron from odoo-tenant-opw#170 doesn't exist there.What changed
ODOO_UPDATE_MODULESnames modules,update_addonsalso upgrades their installed local dependencies: the same dependency closure AUTO already uses, now one helper shared by both.explicit_modulesstill get exactly what they pass.Verification
tenant_corewhose local dependencytenant_helperis installed upgrades both. The coresaleand the uninstalledtenant_deepare not added.tests.test_odoo_data_workflows(59 tests) and the fullunittest discover(321) pass; ruff check and format are clean.Rollout
Tenants pick this up when their devkit pin moves and they publish a new artifact. On OPW that loads #170's
Check Product Payloads Offlinecron on the next testing deploy.Refs #142