Skip to content

[FIX] module_auto_update: skip creating/checking checksums for modules with 'imported = True'. Fixes update with 'studio_customization' installed. - #3691

Open
glasl wants to merge 3 commits into
OCA:18.0from
glasl:Fix-module_auto_update-mechanism-for-Odoo-Enterprise
Open

[FIX] module_auto_update: skip creating/checking checksums for modules with 'imported = True'. Fixes update with 'studio_customization' installed.#3691
glasl wants to merge 3 commits into
OCA:18.0from
glasl:Fix-module_auto_update-mechanism-for-Odoo-Enterprise

Conversation

@glasl

@glasl glasl commented Jul 31, 2026

Copy link
Copy Markdown

The Odoo Enterprise "Studio" module creates a new module "studio_customization" in the database. Since we're only comparing checksums of modules stored in the file system, skipping the creation and checking of checksums for modules with 'imported = True' fixes the update mechanism on Odoo Enterprise installations and installations with modules imported via Odoo's webinterface.

Fixes #3360.

I've seen @joshkreud's PR #3674, but still want to propose this alternative fix:

Modifying the existing query to exclude imported modules appears cleaner than implementing the function _module_exists_on_disk() + tests and calling it for every module in a for-loop.

… database,

The Odoo Enterprise "Studio" module creates a new module "studio_customization" in the database.
Since we're only comparing checksums of modules stored in the file system, ignoring this fixes the update mechanism on Odoo Enterprise installations.
@OCA-git-bot OCA-git-bot added series:18.0 mod:module_auto_update Module module_auto_update labels Jul 31, 2026
Sebastian Glasl added 2 commits July 31, 2026 17:09
…ed = True`. This applies to studio_customizations, too, since it's only imported in the database.

Mitigates breaking the updater, when other modules are imported via the web interface.
@glasl glasl changed the title FIX: ignore module "studio_customization" that is only present in the database. [FIX] module_auto_update: skip creating/checking checksums for modules with 'imported = True'. Fixes update with 'studio_customization' installed. Jul 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:module_auto_update Module module_auto_update series:18.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[18.0][17.0][16.0] module_auto_update: fails with studio_customization

2 participants