Skip to content

[OU-ADD] l10n_sa_edi: rename partner identification fields + preserve l10n_sa_serial_number#33

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

[OU-ADD] l10n_sa_edi: rename partner identification fields + preserve l10n_sa_serial_number#33
dnplkndll wants to merge 1 commit into
19.0from
19.0-mig-l10n_sa_edi-pre-migration

Conversation

@dnplkndll
Copy link
Copy Markdown

Two changes:

  1. Two res.partner fields rename their prefix from l10n_sa_ to l10n_sa_edi_ in 19.0 (additional_identification_number + additional_identification_scheme). The 18.0 and 19.0 signatures match exactly (same type, same selection_keys), so rename_fields preserves the values cleanly.

  2. account.journal.l10n_sa_serial_number (char) is DEL in 19.0. The field held the journal's ZATCA serial — operator-configured — worth preserving via rename_columns to openupgrade_legacy_19_0_l10n_sa_serial_number so database_cleanup can prompt the admin later (standard OpenUpgrade preservation pattern).

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_sa_edi: rename l10n_sa_additional_identification_{number,scheme} + preserve l10n_sa_serial_number [OU-ADD] l10n_sa_edi: rename partner identification fields + preserve l10n_sa_serial_number May 26, 2026
… l10n_sa_serial_number

rename_fields renames the two res.partner ZATCA fields from
l10n_sa_additional_identification_{number,scheme} to
l10n_sa_edi_additional_identification_{number,scheme} (same types,
same selection_keys; only the module prefix changes).

rename_columns preserves account_journal.l10n_sa_serial_number (DEL in
19.0) as openupgrade_legacy_19_0_* so the operator-configured ZATCA
serial survives for database_cleanup.
@dnplkndll dnplkndll force-pushed the 19.0-mig-l10n_sa_edi-pre-migration branch from ff4bf42 to 7d90d69 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