Skip to content

[OU-ADD] l10n_lt: pre-migration column-add#26

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

[OU-ADD] l10n_lt: pre-migration column-add#26
dnplkndll wants to merge 1 commit into
19.0from
19.0-mig-l10n_lt-pre-migration

Conversation

@dnplkndll
Copy link
Copy Markdown

The 19.0 l10n_lt manifest adds l10n_lt_tax_code (char) on account.tax. The 19.0 account chart_template loader materializes account.tax via mapped(...) before the l10n_lt install runs, crashing the migration with UndefinedColumn on an 18.0 source DB.

Add the column NULL in pre-migration. Annotates upgrade_analysis_work.txt + marks docsource status 'Done' for CI inclusion in MODULES_NEW.

Draft fork PR — for review before upstreaming to OCA/OpenUpgrade. Same pattern as the companion l10n_in PR and l10n_no PR.

@dnplkndll dnplkndll changed the title [19.0][OU-ADD] l10n_lt: pre-migration column-add for account_tax.l10n_lt_tax_code [OU-ADD] l10n_lt: pre-migration column-add May 26, 2026
add_fields creates account_tax.l10n_lt_tax_code so the 19.0
chart_template loader's mapped() query doesn't crash with
UndefinedColumn before the l10n_lt install step.
@dnplkndll dnplkndll force-pushed the 19.0-mig-l10n_lt-pre-migration branch from 022ad61 to 0dd32d7 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