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:
@@ -3,7 +3,7 @@
|
|||||||
# License OPL-1 (Odoo Proprietary License v1.0)
|
# License OPL-1 (Odoo Proprietary License v1.0)
|
||||||
{
|
{
|
||||||
'name': 'Fusion Plating — Reports',
|
'name': 'Fusion Plating — Reports',
|
||||||
'version': '19.0.10.3.0',
|
'version': '19.0.10.4.0',
|
||||||
'category': 'Manufacturing/Plating',
|
'category': 'Manufacturing/Plating',
|
||||||
'summary': 'PDF reports for Fusion Plating: quote, SO, WO, packing, BoL, CoC, invoice, receipt, quality + compliance.',
|
'summary': 'PDF reports for Fusion Plating: quote, SO, WO, packing, BoL, CoC, invoice, receipt, quality + compliance.',
|
||||||
'depends': [
|
'depends': [
|
||||||
|
|||||||
@@ -168,18 +168,18 @@
|
|||||||
render the image larger than the wrapper and offset it so
|
render the image larger than the wrapper and offset it so
|
||||||
the wrapper clips that border out. ---------------------- */
|
the wrapper clips that border out. ---------------------- */
|
||||||
.fp-sticker-qr-wrap {
|
.fp-sticker-qr-wrap {
|
||||||
width: 380px;
|
width: 460px;
|
||||||
height: 380px;
|
height: 460px;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
.fp-sticker-qr {
|
.fp-sticker-qr {
|
||||||
width: 510px;
|
width: 620px;
|
||||||
height: 510px;
|
height: 620px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: -65px;
|
top: -80px;
|
||||||
left: -65px;
|
left: -80px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
@@ -195,7 +195,14 @@
|
|||||||
table-layout: fixed;
|
table-layout: fixed;
|
||||||
border-collapse: collapse;
|
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; }
|
table.fp-sticker-body tr + tr td { border-top: 1px solid #000; }
|
||||||
col.fp-col-label { width: 32%; }
|
col.fp-col-label { width: 32%; }
|
||||||
col.fp-col-value { width: 68%; }
|
col.fp-col-value { width: 68%; }
|
||||||
@@ -340,7 +347,7 @@
|
|||||||
</span>
|
</span>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr class="fp-row-notes">
|
||||||
<td class="fp-sticker-label">Notes:</td>
|
<td class="fp-sticker-label">Notes:</td>
|
||||||
<td class="fp-sticker-value">
|
<td class="fp-sticker-value">
|
||||||
<t t-esc="_internal_note"/>
|
<t t-esc="_internal_note"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user