feat(sticker): bigger QR + double-height Notes row

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) <noreply@anthropic.com>
This commit is contained in:
gsinghpal
2026-05-12 23:25:37 -04:00
parent 7a02382623
commit 2db789d7dd
2 changed files with 16 additions and 9 deletions

View File

@@ -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': [

View File

@@ -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 @@
</span>
</td>
</tr>
<tr>
<tr class="fp-row-notes">
<td class="fp-sticker-label">Notes:</td>
<td class="fp-sticker-value">
<t t-esc="_internal_note"/>