Skip to content

[18.0][FIX] l10n_eu_product_adr: restore label pictograms - #292

Open
rrebollo wants to merge 1 commit into
OCA:18.0from
BinhexTeam:18.0-fix-l10n_eu_product_adr-label-pictograms
Open

[18.0][FIX] l10n_eu_product_adr: restore label pictograms#292
rrebollo wants to merge 1 commit into
OCA:18.0from
BinhexTeam:18.0-fix-l10n_eu_product_adr-label-pictograms

Conversation

@rrebollo

@rrebollo rrebollo commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

We introduced this error in #241 ([18.0][IMP] l10n_eu_product_adr: migrate xml data files to csv) when migrating data files from XML to CSV.

data/adr.label.csv cannot carry type="base64" file="...", so all 22 adr.label.image (required) shipped empty and static/img/ADR_*.svg were orphaned — pictograms missing in form/kanban (see #290 (comment)).

This PR corrects it by restoring data/adr_label.xml (22 records with type="base64" file="l10n_eu_product_adr/static/img/ADR_*.svg") and updating __manifest__.py (CSV → XML).

@BinhexTeam T12289

CSV cannot express type="base64" file="...", so data/adr.label.csv
left image empty for all 22 labels and static/img/*.svg unreferenced.
image is required=True and rendered in form/kanban. Keep
data/adr_label.xml as XML (only 22 records) to preserve
file= construct. Mirrors 19.0 fix fae7bcd (PR OCA#290).

On existing DBs noupdate="1" prevents auto-backfill on -u;
re-init with --init=l10n_eu_product_adr or manual reload restores
images (see bosd comment).
@rrebollo

rrebollo commented Sep 2, 2026

Copy link
Copy Markdown
Contributor Author

@bosd Could you take a look when you have a moment? Same fix as #291 but for 18.0 — restores the 22 label pictograms lost when migrating to CSV.

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