[OU-ADD] l10n_it_edi: rename_xmlids for l10n_it_edi_ndd consolidation#34
Draft
dnplkndll wants to merge 1 commit into
Draft
[OU-ADD] l10n_it_edi: rename_xmlids for l10n_it_edi_ndd consolidation#34dnplkndll wants to merge 1 commit into
dnplkndll wants to merge 1 commit into
Conversation
dnplkndll
added a commit
that referenced
this pull request
May 26, 2026
Track A batch of 5 l10n_* modules complete: - l10n_in_edi, l10n_ph (annotation-only) - PRs #30, #31 - l10n_tr_nilvera (selection -> boolean) - PR #32 - l10n_sa_edi (rename_fields + preserve) - PR #33 - l10n_it_edi (rename_xmlids for ndd consolidation) - PR #34 Deferred: - l10n_in_ewaybill (model move + 30+ xmlid moves, needs apriori coordination) - l10n_it sibling fix to PR #34 (l10n_it_edi_withholding -> l10n_it rename + broader tax-report refactor)
rename_xmlids moves 23 records' ir_model_data ownership from l10n_it_edi_ndd to l10n_it_edi (the ndd doc-types module folds into l10n_it_edi in 19.0): 1 ir.model.access + 22 l10n_it.document.type records (01-09, 16-28). Without this, customer FKs to specific document-type ids would dangle.
20fb5cd to
dd0ce37
Compare
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.
The 19.0
l10n_it_edimodule absorbsl10n_it_edi_ndd(Italian electronic document type definitions). Without renaming the 23 xmlids in pre-migration, Odoo's 19.0 install would orphan the legacy ir_model_data rows and customer-attached FKs to specific document-type ids would dangle.Renames in scope:
ir.model.access:access_l10n_it_document_typel10n_it.document.type:l10n_it_document_type_01..09, _16..28Deferred to a sibling pre-migration in
l10n_it/19.0.0.9/(out of scope here): the other 10 xmlid movesl10n_it_edi_withholding→l10n_it. See TODO §4.3.Draft fork PR — for review before upstreaming to OCA/OpenUpgrade.