odoo/odoo#256335
Created by fw-bot
Merged
at 66db18960a1801b616d0e9ca869e0bf7e9095218
Statuses:
- legal/cla: Contributor License Agreement check
- ci/runbot: Odoo Test Suite
- ci/upgrade_enterprise: Test upgrades for enterprise master
- ci/template: (runtime 1474s)
- ci/style: Optional style check. Ignore it only if strictly necessary.
- ci/security: Required security check. Can only be ignored by security team.
- ci/l10n: (runtime 5s)
- label
- odoo-dev:17.0-16.0-l10n_ch-invalid_qrcode-509827-fw
- head
- 0bffaea70939c0cd59022d2fe0123bc462870a92
- merged
- 2 weeks ago by Accounting, Josse Colpaert (jco)
| odoo/odoo | |
|---|---|
| 16.0 | #254980 |
| 17.0 | #256335 |
| 18.0 | #256707 |
| saas-18.2 | #257961 |
| saas-18.3 | #258571 |
| saas-18.4 | #258618 |
| 19.0 | #258648 |
| saas-19.1 | #258680 missing statuses missing r+ |
| saas-19.2 | |
| master |
[16.0][FIX] l10n_ch: filter characters for QR codes
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: #254980