From 8aa817b1a00a408f5f7b90a23a0e34f1a2c11552 Mon Sep 17 00:00:00 2001 From: gsinghpal Date: Tue, 12 May 2026 23:38:05 -0400 Subject: [PATCH] feat(sticker): bigger text, bigger high-def QR, drop "WO #" prefix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit WO# cell now just renders the number (e.g. "WO-30019") since the "WO" is already baked into the doc index format — the redundant prefix was eating cell width without adding information. Size bumps: - WO# 44pt -> 62pt (text is shorter so the cell can carry the extra weight) - Body field text 22pt -> 26pt, line-height 1.1 -> 1.0 so the bigger font still fits 7 rows in the body band - Notes label 22pt -> 26pt, content 16pt -> 19pt - Logo max-height 120 -> 135px - Muted rev tag 16pt -> 18pt QR upgrades (both "bigger" and "high def" as asked): - Source resolution 300x300 -> 600x600. At 300dpi print across a 28.8mm wrapper, effective output is ~515ppi vs the prior ~256ppi. Scanners on the floor will read it cleanly even at steeper angles / scuffed labels. - Wrapper 290 -> 340px (+17%). Image 390 -> 447px, offset -50 -> -53px (recomputed quiet-zone crop: 600 * 0.12 = 72px margin -> 456px effective QR data -> 340 * 600/456 = 447 scaled image -> (447-340)/2 = 53px offset). Co-Authored-By: Claude Opus 4.7 (1M context) --- .../fusion_plating_reports/__manifest__.py | 2 +- .../report/report_fp_wo_sticker.xml | 45 ++++++++++--------- 2 files changed, 25 insertions(+), 22 deletions(-) diff --git a/fusion_plating/fusion_plating_reports/__manifest__.py b/fusion_plating/fusion_plating_reports/__manifest__.py index cb7be319..bf72120c 100644 --- a/fusion_plating/fusion_plating_reports/__manifest__.py +++ b/fusion_plating/fusion_plating_reports/__manifest__.py @@ -3,7 +3,7 @@ # License OPL-1 (Odoo Proprietary License v1.0) { 'name': 'Fusion Plating — Reports', - 'version': '19.0.10.5.0', + 'version': '19.0.10.6.0', 'category': 'Manufacturing/Plating', 'summary': 'PDF reports for Fusion Plating: quote, SO, WO, packing, BoL, CoC, invoice, receipt, quality + compliance.', 'depends': [ diff --git a/fusion_plating/fusion_plating_reports/report/report_fp_wo_sticker.xml b/fusion_plating/fusion_plating_reports/report/report_fp_wo_sticker.xml index 0c2ebf08..980f3051 100644 --- a/fusion_plating/fusion_plating_reports/report/report_fp_wo_sticker.xml +++ b/fusion_plating/fusion_plating_reports/report/report_fp_wo_sticker.xml @@ -83,9 +83,11 @@ or (_part and _part.name) or '-'"/> + to fetch /report/barcode/ over the network during rendering. + 600x600 source at 300dpi print = ~515ppi effective — high-def + scan reliability for the 4x6" label. --> + 'QR', _scan_url, width=600, height=600)"/>