Skip to content

[OU-ADD] l10n_it_edi: rename_xmlids for l10n_it_edi_ndd consolidation#34

Draft
dnplkndll wants to merge 1 commit into
19.0from
19.0-mig-l10n_it_edi-pre-migration
Draft

[OU-ADD] l10n_it_edi: rename_xmlids for l10n_it_edi_ndd consolidation#34
dnplkndll wants to merge 1 commit into
19.0from
19.0-mig-l10n_it_edi-pre-migration

Conversation

@dnplkndll
Copy link
Copy Markdown

The 19.0 l10n_it_edi module absorbs l10n_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:

  • 1 ir.model.access: access_l10n_it_document_type
  • 22 l10n_it.document.type: l10n_it_document_type_01..09, _16..28

Deferred to a sibling pre-migration in l10n_it/19.0.0.9/ (out of scope here): the other 10 xmlid moves l10n_it_edi_withholdingl10n_it. See TODO §4.3.

Draft fork PR — for review before upstreaming to OCA/OpenUpgrade.

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)
@dnplkndll dnplkndll changed the title [19.0][OU-ADD] l10n_it_edi: rename_xmlids for l10n_it_edi_ndd consolidation (23 records) [OU-ADD] l10n_it_edi: rename_xmlids for l10n_it_edi_ndd consolidation May 26, 2026
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.
@dnplkndll dnplkndll force-pushed the 19.0-mig-l10n_it_edi-pre-migration branch from 20fb5cd to dd0ce37 Compare May 26, 2026 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant