feat(sticker): restore older 3-cell-header + right-Notes-panel layout
Per user request — the previous (now restored) layout is the one operators were used to: - Header: single row with 3 cells side-by-side (Logo | WO # | QR) instead of the stacked logo+WO# left / QR right. - Body: 3-col layout (Label | Value | Notes-rowspan). Notes is a tall right-side panel spanning all 7 body rows — gives operators ~62mm of vertical space for multi-line notes (vs. the prior single-row Notes that capped at ~8.7mm). - Fields: PO #, SN #, Customer, Part #, Due Date, Thickness, Qty. SN # joins x_fc_serial_ids; Thickness composes from the coating's thickness_min/max + uom. - Header band 32% (was 40%), body band 68% — the header is shorter because there's no stacked logo/WO# anymore; body grows to absorb the freed space, but the 7-row grid already provided ample per-row height. - Body text 17pt main / 13pt muted (down from 38pt). The big-font pass was for a 7-row equal-height grid; with the 3-col layout the per-row height is unchanged but the rows are now narrower (only ~70% of the page width minus the Notes panel), so a more conservative font keeps text from wrapping mid-cell. - QR generation stays at 600x600 (sharper print at scan time). Variable interface unchanged. mrp.production / mrp.workorder / fp.job / sale.order all still call the same inner template; two new variables (_serial_names, _thickness_str) get pre-set by the defaults template and resolved by the inner. Verified: 72-KB PDF renders cleanly on entech for WO-30019. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
# License OPL-1 (Odoo Proprietary License v1.0)
|
||||
{
|
||||
'name': 'Fusion Plating — Reports',
|
||||
'version': '19.0.10.4.1',
|
||||
'version': '19.0.10.5.0',
|
||||
'category': 'Manufacturing/Plating',
|
||||
'summary': 'PDF reports for Fusion Plating: quote, SO, WO, packing, BoL, CoC, invoice, receipt, quality + compliance.',
|
||||
'depends': [
|
||||
|
||||
Reference in New Issue
Block a user