[FIX] Moduli non installabili dopo migrazione a 18.0#5222
Open
SirPyTech wants to merge 3 commits into
Open
Conversation
1 task
f27ce48 to
febf4b9
Compare
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.
febf4b9 to
bb1f0f1
Compare
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) |
Contributor
There was a problem hiding this comment.
Do not remove l10n_it_fatturapa_pec as migration script in l10n_it_edi_pec checks if it is installed to do migration.
Contributor
There was a problem hiding this comment.
The same thing for l10n_it_declaration_of_intent
Member
There was a problem hiding this comment.
La disattivazione di l10n_it_fatturapa_pec andrebbe fatta nello script di l10n_it_edi_pec
Discorso analogo per l10n_it_declaration_of_intent
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.
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).