Skip to content

[FIX] l10n_ae, l10n_at: migrate tax-report lines reused as expressions#100

Open
dnplkndll wants to merge 2 commits into
19.0from
19.0-fix-l10n-tax-report-lines
Open

[FIX] l10n_ae, l10n_at: migrate tax-report lines reused as expressions#100
dnplkndll wants to merge 2 commits into
19.0from
19.0-fix-l10n-tax-report-lines

Conversation

@dnplkndll

Copy link
Copy Markdown

19.0 consolidated the country VAT tax reports: per-section line entries that were
account.report.line in 18.0 are reused as account.report.expression on the
merged lines. The module data load aborts overwriting a line record with
expression values, so a 18→19 of any DB with these installed fails -u all.

Non-mechanical adaptations worth flagging

pre-migration frees the reused xml_ids (l10n_ae: 8, l10n_at: 2) so the 19.0
expressions create cleanly; the superseded 18.0 lines are residual. Both were
untriaged upstream (blank docsource → Done).

19.0 relevance

Only exercised when these l10n modules are installed — the OCA migration seed has
them uninstalled, so it wasn't caught upstream. Validated on an all-localizations
seed: both reach their 19.0 versions and the ParseError clears.

@dnplkndll dnplkndll force-pushed the 19.0-fix-l10n-tax-report-lines branch 3 times, most recently from 7b3e973 to c295543 Compare June 5, 2026 19:54
@dnplkndll dnplkndll force-pushed the 19.0-fix-l10n-tax-report-lines branch 3 times, most recently from eea68dd to 3d21ced Compare June 17, 2026 12:44
19.0 consolidated the VAT tax reports — per-section line entries that were
account.report.line in 18.0 are reused as account.report.expression on the
merged lines (l10n_ae: 8 xml_ids, l10n_at: 2). The module data load aborts
overwriting a line record with expression values, so free those xml_ids in
pre-migration; the new expressions are then created cleanly and the superseded
18.0 lines are residual. Both were untriaged upstream (docsource -> Done).

Validated: a full 18->19 of a seed with both modules installed clears the
ParseError at each and advances past them.
@dnplkndll dnplkndll force-pushed the 19.0-fix-l10n-tax-report-lines branch from 3d21ced to abaaaf5 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