Skip to content

Navigation Menu

Sign in
Sign up

[16.0][ADD] base_module_quick_update: quick upgrade without cascading... - #3682

Open
AntonBalmakov wants to merge 1 commit into
OCA:16.0 from
xxp-odoo-erp:16.0-T0194-base_module_quick_update-add-quick-upgrade
Open

[16.0][ADD] base_module_quick_update: quick upgrade without cascading... #3682
AntonBalmakov wants to merge 1 commit into
OCA:16.0 from
xxp-odoo-erp:16.0-T0194-base_module_quick_update-add-quick-upgrade

Conversation

@AntonBalmakov

@AntonBalmakov AntonBalmakov commented Jul 21, 2026

Copy link
Copy Markdown

... dependents

Adds a Quick upgrade action to ir.module.module that upgrades the selected module only, without cascading to installed modules that depend on it. Missing upstream dependencies are still installed.

Task: T0194

AntonBalmakov force-pushed the 16.0-T0194-base_module_quick_update-add-quick-upgrade branch from c0f6515 to 42a2442 Compare July 21, 2026 08:33
AntonBalmakov force-pushed the 16.0-T0194-base_module_quick_update-add-quick-upgrade branch 2 times, most recently from 499dc5a to 8765b3e Compare August 10, 2026 09:52

AntonBalmakov commented Aug 10, 2026
edited
Loading

Copy link
Copy Markdown
Author

CI failure here is unrelated to this change. In the test with Odoo/test with OCB jobs the Install addons and dependencies step aborts before any test runs (Run tests = 0s). Root cause: pip pulls MarkupSafe 3.0.3 (log line 318) while Odoo 16 pins Jinja2 2.11.3 (line 312); Jinja2 2.11.3 imports soft_unicode, removed in MarkupSafe ≥2.1, so import odoo fails and oca_list_external_dependencies reports could not obtain odoo.addons.path. This is a recent environment/wheelhouse regression affecting fresh 16.0 builds, not this PR. A constraint like MarkupSafe<2.1 (CI side) should fix it. Nothing to change here — will re-run once resolved.

... dependents
Adds a Quick upgrade action to ir.module.module that upgrades the
selected module only, without cascading to installed modules that
depend on it. Missing upstream dependencies are still installed.
Task: T0194
AntonBalmakov force-pushed the 16.0-T0194-base_module_quick_update-add-quick-upgrade branch from 8765b3e to 408209f Compare August 14, 2026 09:09
AntonBalmakov force-pushed the 16.0-T0194-base_module_quick_update-add-quick-upgrade branch from c4a140c to 408209f Compare August 31, 2026 06:58

Copy link
Copy Markdown
Author

Update: all GitHub Actions checks are green on 408209f — pre-commit, "Detect unreleased dependencies", tests with both Odoo and OCB, and codecov (92.94% of the diff covered). The MarkupSafe/Jinja2 problem described above no longer affects the Actions jobs.

The only remaining red check is runboat/build, which fails for that same reason on the runboat image side: pip resolves MarkupSafe to 3.0.3 against the pinned Jinja2 2.11.3, so import odoo fails and the init script aborts with could not obtain odoo.addons.__path__ / not found in addons path: base,... — before any addon from this PR is even loaded. This affects every fresh 16.0 runboat build, not just this branch; a MarkupSafe<2.1 constraint on the image side would fix it.

Could a maintainer please take a look? Happy to address any feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

mod:base_module_quick_update Module base_module_quick_update series:16.0

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /