Skip to content

[OU-FIX] account_edi_ubl_cii: guard reason-code map on column existence#108

Open
dnplkndll wants to merge 1 commit into
19.0from
19.0-fix-account-edi-ubl-cii-column-guard
Open

[OU-FIX] account_edi_ubl_cii: guard reason-code map on column existence#108
dnplkndll wants to merge 1 commit into
19.0from
19.0-fix-account-edi-ubl-cii-column-guard

Conversation

@dnplkndll

Copy link
Copy Markdown

Stock 18.0 never had account_tax.ubl_cii_tax_exemption_reason_code (saas-only until 19.0), so the unguarded map_values in the merged migration crashes every standard 18→19 migration that has account_edi_ubl_cii installed (it auto-installs with account_edi). Found by the lab's minimal-fixture harness on the refreshed aggregate.

OCA-clean single commit off origin/19.0, cherry-pickable upstream.

@dnplkndll dnplkndll force-pushed the 19.0-fix-account-edi-ubl-cii-column-guard branch 3 times, most recently from fbc6c2a to a38de98 Compare June 17, 2026 12:44
Stock 18.0 has no account_tax.ubl_cii_tax_exemption_reason_code (the
field shipped only in saas builds before landing in 19.0); the unguarded
map_values crashes every standard 18->19 migration with the module
installed.
@dnplkndll dnplkndll force-pushed the 19.0-fix-account-edi-ubl-cii-column-guard branch from a38de98 to fc51e73 Compare June 19, 2026 11:58
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