[fork-CI] [19.0][MIG] report_qr: Migration to 19.0#8
Draft
dnplkndll wants to merge 30 commits into
Draft
Conversation
Currently translated at 100.0% (1 of 1 strings) Translation: reporting-engine-15.0/reporting-engine-15.0-report_qr Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-15-0/reporting-engine-15-0-report_qr/ca/
Currently translated at 100.0% (1 of 1 strings) Translation: reporting-engine-16.0/reporting-engine-16.0-report_qr Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-16-0/reporting-engine-16-0-report_qr/it/
- Declare the qrcode python lib in external_dependencies (it was imported but undeclared); 19.0 core renders QR only via /report/barcode (reportlab, raster) — this module keeps the qrcode-lib SVG/vector factories + color control + /report/qr endpoint. Signed-off-by: Don Kendall <dkendall@ledoweb.com>
958727c to
87b3ff5
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Port of
report_qrfrom18.0to19.0. Follows the OCA migration guide.19.0 relevance
19.0 core renders QR codes only via
/report/barcode(reportlab, raster). This module remains distinct: it exposesqr_generate+ a/report/qrendpoint using theqrcodelib, with vector-SVG factories (svg / svg-fragment / svg-path) and fill/back colour control that core's barcode endpoint does not provide.Non-mechanical adaptations worth flagging
qrcodeis now declared inexternal_dependencies(it was imported but undeclared on 18.0).