From 5646c97f67d5411b2cf62f4ffd994d9fa666347a Mon Sep 17 00:00:00 2001 From: gsinghpal Date: Wed, 3 Jun 2026 13:55:02 -0400 Subject: [PATCH] =?UTF-8?q?feat(fusion=5Fplating=5Fjobs):=20external=20sti?= =?UTF-8?q?cker=20=E2=80=94=20QR=20fills=20full=20width=20when=20no=20MASK?= =?UTF-8?q?/BAKE=20tags?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Taller QR row (30->36mm) and the QR now expands to a full-width centered ~34mm when a job has neither masking nor baking (was leaving the right half empty); when tags are present, QR ~32mm on the left with MASK/BAKE stacked on the right. Logo/WO-band/field rows trimmed to fund the bigger QR. Verified live (WO-30072 no-tags full QR; WO-30090 BAKE tag). Co-Authored-By: Claude Opus 4.8 (1M context) --- .../fusion_plating_jobs/__manifest__.py | 2 +- .../report/report_fp_job_sticker.xml | 37 +++++++++++-------- 2 files changed, 23 insertions(+), 16 deletions(-) diff --git a/fusion_plating/fusion_plating_jobs/__manifest__.py b/fusion_plating/fusion_plating_jobs/__manifest__.py index dfa6f863..12f62628 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.1', + 'version': '19.0.12.1.2', '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 954c13d9..dd2c824a 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 @@ -84,19 +84,21 @@ /* Layout B rail + main */ .rail { position: absolute; left: 0; top: 0; bottom: 0; width: 50mm; border-right: 0.9mm solid #000; overflow: hidden; } .main { position: absolute; left: 50mm; right: 0; top: 0; bottom: 0; overflow: hidden; } - .r-logo { height: 12mm; line-height: 12mm; text-align: center; } + .r-logo { height: 11mm; line-height: 11mm; text-align: center; } .r-logo img { max-height: 10mm; max-width: 45mm; vertical-align: middle; } - .r-wo { height: 16mm; background: #000; color: #fff; padding: 0; } + .r-wo { height: 14mm; background: #000; color: #fff; padding: 0; } .wobtbl { border-collapse: collapse; width: 100%; height: 100%; } .wobtbl td { padding: 1mm 2.2mm; vertical-align: middle; } .bignum { font-size: 17pt; font-weight: 900; line-height: 1; display: block; color: #fff; } - .r-qrflags { height: 30mm; } + .r-qrflags { height: 36mm; text-align: center; } .qftbl { border-collapse: collapse; width: 100%; height: 100%; } .qftbl td { vertical-align: middle; text-align: center; } - .qfqr { width: 64%; } - .qfqr img { width: 28mm; height: 28mm; vertical-align: middle; } - .qftags { border-left: 0.5mm solid #000; } + .qfqr { width: 66%; } + .qfqr img { width: 32mm; height: 32mm; vertical-align: middle; } + .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; } .r-fld { padding: 1mm 2.2mm; } .gtbl { border-collapse: collapse; width: 100%; height: 100%; } .gtbl td { padding: 1mm 2.2mm; vertical-align: middle; } @@ -178,13 +180,18 @@
- - - -
- MASK - BAKE -
+ + + + +
+ MASK + BAKE +
+
+ +
+
Part# @@ -192,11 +199,11 @@ Rev
Customer
-
+
PO# Qty
-
+
Due Thk (mils)