Skip to content

[FIX] Moduli non installabili dopo migrazione a 18.0#5222

Open
SirPyTech wants to merge 3 commits into
OCA:18.0from
PyTech-SRL:18.0-fix-l10n_it_edi_extension-migration_not_installable_modules
Open

[FIX] Moduli non installabili dopo migrazione a 18.0#5222
SirPyTech wants to merge 3 commits into
OCA:18.0from
PyTech-SRL:18.0-fix-l10n_it_edi_extension-migration_not_installable_modules

Conversation

@SirPyTech

@SirPyTech SirPyTech commented Jun 10, 2026

Copy link
Copy Markdown

Risolve #5221.

Rimangono ancora WARNING/ERROR per alcuni moduli perché i loro dati non sono ancora stati migrati.
Ad esempio i moduli delle ritenute (*withholding*): #3940 (comment).

@OCA-git-bot OCA-git-bot added series:18.0 mod:l10n_it_account Module l10n_it_account mod:l10n_it_edi_extension Module l10n_it_edi_extension mod:l10n_it_edi_related_document Module l10n_it_edi_related_document labels Jun 10, 2026
@SirPyTech SirPyTech force-pushed the 18.0-fix-l10n_it_edi_extension-migration_not_installable_modules branch from f27ce48 to febf4b9 Compare June 10, 2026 11:03
When the module's data has been migrated, uninstall the module, otherwise the following is logged in the migrated DB:
> WARNING ? odoo.modules.graph: module <module>: not installable, skipped
When the module's data has been migrated, uninstall the module, otherwise the following is logged in the migrated DB:
> WARNING ? odoo.modules.graph: module <module>: not installable, skipped
Migrate the table data when the table exists, even if the module does not look like it is installed.
@SirPyTech SirPyTech force-pushed the 18.0-fix-l10n_it_edi_extension-migration_not_installable_modules branch from febf4b9 to bb1f0f1 Compare June 10, 2026 11:05
@SirPyTech SirPyTech marked this pull request as ready for review June 10, 2026 11:09
@francesco-ooops francesco-ooops linked an issue Jun 10, 2026 that may be closed by this pull request
1 task
migration_function = globals().get(f"_{module}_migration")
if openupgrade.is_module_installed(env.cr, module) and migration_function:
migration_function(env)
_remove_module(env, module)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do not remove l10n_it_fatturapa_pec as migration script in l10n_it_edi_pec checks if it is installed to do migration.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The same thing for l10n_it_declaration_of_intent

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

La disattivazione di l10n_it_fatturapa_pec andrebbe fatta nello script di l10n_it_edi_pec

Discorso analogo per l10n_it_declaration_of_intent

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

Labels

Migration scripts mod:l10n_it_account Module l10n_it_account mod:l10n_it_edi_extension Module l10n_it_edi_extension mod:l10n_it_edi_related_document Module l10n_it_edi_related_document series:18.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Moduli non installabili dopo migrazione a 18.0

5 participants