diff --git a/fusion_plating/fusion_plating_reports/__manifest__.py b/fusion_plating/fusion_plating_reports/__manifest__.py index 5f64b5d2..ee9b4584 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.4.0', + 'version': '19.0.10.4.1', '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 ddfd1c07..9b440f9b 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 @@ -100,14 +100,11 @@ page-break-after: always; page-break-inside: avoid; } - /* ---- HEADER band — grew to 44% (was 40%) to fit a bigger QR - for thermal-printer scan reliability. The body band is now - 56% but each row stays roughly the same height because - we tightened the Notes row at the bottom. */ + /* ---- HEADER band — 40% to fit 2x WO# + logo + QR. */ .fp-sticker-head-wrap { position: absolute; left: 0; right: 0; top: 0; - height: 44%; + height: 40%; border-bottom: 2px solid #000; box-sizing: border-box; padding: 0; @@ -174,32 +171,26 @@ render the image larger than the wrapper and offset it so the wrapper clips that border out. ---------------------- */ .fp-sticker-qr-wrap { - width: 460px; - height: 460px; + width: 380px; + height: 380px; display: inline-block; position: relative; overflow: hidden; } .fp-sticker-qr { - width: 620px; - height: 620px; + width: 510px; + height: 510px; position: absolute; - top: -80px; - left: -80px; + top: -65px; + left: -65px; margin: 0; display: block; } - /* ---- BODY band — first 6 rows are equal-height; the - final Notes row takes less. Header moved down to 44% - so this band is 56%; the row-height split below brings - the 6 main rows to ~9.4mm each (slightly more than the - old equal-split 8.7mm despite the smaller band). Notes - drops to ~6mm — enough for 1-2 lines of the bigger - text below. ---- */ + /* ---- BODY band (7 rows, each 14.28% of the band) ---- */ .fp-sticker-body-wrap { position: absolute; left: 0; right: 0; - top: 44%; bottom: 0; + top: 40%; bottom: 0; } table.fp-sticker-body { width: 100%; @@ -207,15 +198,14 @@ table-layout: fixed; border-collapse: collapse; } - table.fp-sticker-body tr.fp-sticker-row-main { height: 15%; } - table.fp-sticker-body tr.fp-sticker-row-notes { height: 10%; } + table.fp-sticker-body tr { height: 14.28%; } table.fp-sticker-body tr + tr td { border-top: 1px solid #000; } col.fp-col-label { width: 32%; } col.fp-col-value { width: 68%; } table.fp-sticker-body td { vertical-align: middle; padding: 0 14px; - font-size: 44pt; + font-size: 38pt; line-height: 1.1; } td.fp-sticker-label { @@ -230,10 +220,7 @@ white-space: nowrap; } .fp-sticker-strong { font-weight: 700; } - .fp-sticker-muted { color: #555; font-size: 32pt; } - /* Notes row uses a slightly smaller font so 1-2 lines fit - in the trimmed-down height. -------------------------- */ - tr.fp-sticker-row-notes td { font-size: 32pt; } + .fp-sticker-muted { color: #555; font-size: 28pt; }