Skip to content

[16.0][FIX] l10n_ch: filter characters for QR codes#258648

Closed
fw-bot wants to merge 2 commits intoodoo:19.0from
odoo-dev:19.0-16.0-l10n_ch-invalid_qrcode-516245-fw
Closed

[16.0][FIX] l10n_ch: filter characters for QR codes#258648
fw-bot wants to merge 2 commits intoodoo:19.0from
odoo-dev:19.0-16.0-l10n_ch-invalid_qrcode-516245-fw

Conversation

@fw-bot
Copy link
Copy Markdown
Contributor

@fw-bot fw-bot commented Apr 10, 2026

Description of the issue/feature this PR addresses:

QR code is rejected by the bank, when it contains an invalid character U+202F.

Current behavior before PR:

Unauthorized Unicode characters are encoded in the QR-Bill, and it is rejected on the receiving part.

Desired behavior after PR is merged:

Any Unicode codepoint which is not in the subset of 324 allowed codepoints has to be filtered out.

spec of QR-bill allows only a subset of characters, a precise list of 324 Unicode codepoints (section 4.1.1, page 30 of the Swiss Implementation Guidelines for the QR-bill)


I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

Forward-Port-Of: #257961
Forward-Port-Of: #254980

@robodoo
Copy link
Copy Markdown
Contributor

robodoo commented Apr 10, 2026

Pull request status dashboard

@fw-bot
Copy link
Copy Markdown
Contributor Author

fw-bot commented Apr 10, 2026

This PR targets 19.0 and is part of the forward-port chain. Further PRs will be created up to master.

More info at https://github.com/odoo/odoo/wiki/Mergebot#forward-port

@robodoo robodoo added the forwardport This PR was created by @fw-bot label Apr 10, 2026
@fw-bot
Copy link
Copy Markdown
Contributor Author

fw-bot commented Apr 10, 2026

@florentx @jco-odoo the next pull request (#258680) is in conflict. You can merge the chain up to here by saying

@robodoo r+

More info at https://github.com/odoo/odoo/wiki/Mergebot#forward-port

@jco-odoo
Copy link
Copy Markdown
Contributor

@robodoo r+

robodoo pushed a commit that referenced this pull request Apr 10, 2026
X-original-commit: ab0d5b3
Part-of: #258648
Signed-off-by: Josse Colpaert (jco) <jco@odoo.com>
@robodoo robodoo closed this in 94b96a7 Apr 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

forwardport This PR was created by @fw-bot

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants