From 2db789d7dd411cd4f8a3c6930b381d9860281aaf Mon Sep 17 00:00:00 2001 From: gsinghpal Date: Tue, 12 May 2026 23:25:37 -0400 Subject: [PATCH] feat(sticker): bigger QR + double-height Notes row MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Both changes the operator asked for, applied to the original ENTECH stacked-left layout (no other structural changes): - QR wrapper 380px → 460px (image 510px → 620px, offset -65 → -80 to keep the white quiet-zone cropped). Roughly +21% surface area. - Notes row height 14.28% → 24% (~2x). Other 6 rows shrink proportionally from 14.28% to 12.67% each so the band still totals 100%. Notes value also gets white-space: normal + vertical-align: top so the operator's handwriting room sits at the top of the cell and a long internal note can wrap. Co-Authored-By: Claude Opus 4.7 (1M context) --- .../fusion_plating_reports/__manifest__.py | 2 +- .../report/report_fp_wo_sticker.xml | 23 ++++++++++++------- 2 files changed, 16 insertions(+), 9 deletions(-) diff --git a/fusion_plating/fusion_plating_reports/__manifest__.py b/fusion_plating/fusion_plating_reports/__manifest__.py index 6b5af406..5f64b5d2 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.3.0', + 'version': '19.0.10.4.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 706b8962..23379d77 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 @@ -168,18 +168,18 @@ render the image larger than the wrapper and offset it so the wrapper clips that border out. ---------------------- */ .fp-sticker-qr-wrap { - width: 380px; - height: 380px; + width: 460px; + height: 460px; display: inline-block; position: relative; overflow: hidden; } .fp-sticker-qr { - width: 510px; - height: 510px; + width: 620px; + height: 620px; position: absolute; - top: -65px; - left: -65px; + top: -80px; + left: -80px; margin: 0; display: block; } @@ -195,7 +195,14 @@ table-layout: fixed; border-collapse: collapse; } - table.fp-sticker-body tr { height: 14.28%; } + /* Body rows: 6 single-line rows at 12.67% each, Notes gets 24% (~2x) so the operator has real room to write. */ + table.fp-sticker-body tr { height: 12.67%; } + table.fp-sticker-body tr.fp-row-notes { height: 24%; } + table.fp-sticker-body tr.fp-row-notes td.fp-sticker-value { + white-space: normal; + vertical-align: top; + padding-top: 10px; + } table.fp-sticker-body tr + tr td { border-top: 1px solid #000; } col.fp-col-label { width: 32%; } col.fp-col-value { width: 68%; } @@ -340,7 +347,7 @@ - + Notes: