From c7b794f60403e9015888cddd83dccf01cccbd60c Mon Sep 17 00:00:00 2001 From: gsinghpal Date: Wed, 13 May 2026 07:21:09 -0400 Subject: [PATCH] fix(sticker): drop SO-line sequence suffix + bump Notes type MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit SO sticker (report_fp_so_sticker): Was: "SO-30019 / 10" (the "/ 10" was line.sequence — Odoo's default increment-by-10 — meaningless to the operator) Now: "SO-30019" Multi-line SOs are disambiguated by the body fields (Part #, Customer, etc.) which already differ per sticker, so the suffix wasn't earning its keep. Notes column size bumps: - Label 44pt -> 48pt - Content 30pt -> 36pt (+20%) — easier to read from across the line. Line-height tightened 1.15 -> 1.1 to keep the multi-paragraph wrap inside the body band. Co-Authored-By: Claude Opus 4.7 (1M context) --- .../fusion_plating_reports/__manifest__.py | 2 +- .../report/report_fp_wo_sticker.xml | 19 ++++++++++--------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/fusion_plating/fusion_plating_reports/__manifest__.py b/fusion_plating/fusion_plating_reports/__manifest__.py index df5b435c..cb7a1c8e 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.8.0', + 'version': '19.0.10.9.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 55bbf3d3..fba22b9c 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 @@ -224,12 +224,12 @@ /* Notes column on the right side of the body. */ .fp-notes-label { font-weight: 700; - font-size: 44pt; + font-size: 48pt; margin: 0 0 10px 0; } .fp-notes-content { - font-size: 30pt; - line-height: 1.15; + font-size: 36pt; + line-height: 1.1; white-space: pre-line; word-wrap: break-word; overflow: hidden; @@ -414,18 +414,19 @@ skipped — they don't go through plating so they don't need a box sticker. - The "WO #" header shows "/" so the sticker - remains identifiable before the fp.job is generated. The QR - encodes /fp/so-line/ — the controller can decide - whether to land on the parent SO, the line, or (later) the - spawned job. --> + The "WO#" header shows the SO name (e.g. SO-30019). The body + carries the part-specific fields (Part #, Customer, etc.) which + disambiguate multi-line SOs without needing a sequence suffix. + The QR encodes /fp/so-line/ — the controller can + decide whether to land on the parent SO, the line, or (later) + the spawned job. -->