From 2b0add3a2eebc2ee99a3d18d2c657195e40bb1b3 Mon Sep 17 00:00:00 2001 From: gsinghpal Date: Wed, 3 Jun 2026 14:16:48 -0400 Subject: [PATCH] feat(fusion_plating_jobs): crop QR quiet-zone so the pattern fills the box (bigger) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The barcode bakes a ~12% white quiet-zone border around the QR. Render the QR oversized inside an overflow:hidden wrapper offset to clip ~10% off each edge (under the quiet zone — finder patterns stay intact), so the black pattern fills the box and reads bigger. Applied to both the full-width (no-tags) and shared (with-tags) QR. White label cell around the wrapper preserves the scan margin. Verified live (WO-30072, WO-30090) — finders intact. Co-Authored-By: Claude Opus 4.8 (1M context) --- .../fusion_plating_jobs/__manifest__.py | 2 +- .../report/report_fp_job_sticker.xml | 16 ++++++++++++---- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/fusion_plating/fusion_plating_jobs/__manifest__.py b/fusion_plating/fusion_plating_jobs/__manifest__.py index 99dc100c..48509965 100644 --- a/fusion_plating/fusion_plating_jobs/__manifest__.py +++ b/fusion_plating/fusion_plating_jobs/__manifest__.py @@ -3,7 +3,7 @@ # License OPL-1 (Odoo Proprietary License v1.0) { 'name': 'Fusion Plating — Native Jobs', - 'version': '19.0.12.1.3', + 'version': '19.0.12.1.4', 'category': 'Manufacturing/Plating', 'summary': 'Native plating job model — replaces mrp.production / mrp.workorder bridge.', 'author': 'Nexa Systems Inc.', diff --git a/fusion_plating/fusion_plating_jobs/report/report_fp_job_sticker.xml b/fusion_plating/fusion_plating_jobs/report/report_fp_job_sticker.xml index b438322d..0eb15bc3 100644 --- a/fusion_plating/fusion_plating_jobs/report/report_fp_job_sticker.xml +++ b/fusion_plating/fusion_plating_jobs/report/report_fp_job_sticker.xml @@ -94,11 +94,19 @@ .qftbl { border-collapse: collapse; width: 100%; height: 100%; } .qftbl td { vertical-align: middle; text-align: center; } .qfqr { width: 66%; } - .qfqr img { width: 32mm; height: 32mm; vertical-align: middle; } + + .qfwrap-qr { display: inline-block; position: relative; overflow: hidden; width: 31mm; height: 31mm; vertical-align: middle; } + .qfwrap-qr img { position: absolute; width: 39mm; height: 39mm; top: -3.9mm; left: -3.9mm; } .qftags { width: 34%; border-left: 0.5mm solid #000; } .qftags .badge { display: block; width: 15mm; margin: 1.4mm auto; font-size: 9.5pt; padding: 0.8mm 0; } .qffull { line-height: 36mm; } - .qffull img { width: 34mm; height: 34mm; vertical-align: middle; } + .qfwrap-full { display: inline-block; position: relative; overflow: hidden; width: 33mm; height: 33mm; vertical-align: middle; } + .qfwrap-full img { position: absolute; width: 41mm; height: 41mm; top: -4.1mm; left: -4.1mm; } .r-fld { padding: 1mm 2.2mm; } .gtbl { border-collapse: collapse; width: 100%; height: 100%; } .gtbl td { padding: 1mm 2.2mm; vertical-align: middle; } @@ -182,7 +190,7 @@
- +
MASK BAKE @@ -190,7 +198,7 @@
-
+