feat(fusion_plating_jobs): internal sticker QR — bigger + quiet-zone crop (match external)
Applied the same QR treatment to the Internal (Layout A) header QR: bumped the box to 30mm and added the ~10% quiet-zone crop wrapper so the pattern fills the box (finders intact), centered via the table cell. HD (1000px) already applied. Verified live (WO-30072). Co-Authored-By: Claude Opus 4.8 (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 — Native Jobs',
|
'name': 'Fusion Plating — Native Jobs',
|
||||||
'version': '19.0.12.1.5',
|
'version': '19.0.12.1.6',
|
||||||
'category': 'Manufacturing/Plating',
|
'category': 'Manufacturing/Plating',
|
||||||
'summary': 'Native plating job model — replaces mrp.production / mrp.workorder bridge.',
|
'summary': 'Native plating job model — replaces mrp.production / mrp.workorder bridge.',
|
||||||
'author': 'Nexa Systems Inc.',
|
'author': 'Nexa Systems Inc.',
|
||||||
|
|||||||
@@ -107,6 +107,9 @@
|
|||||||
.qffull { line-height: 36mm; }
|
.qffull { line-height: 36mm; }
|
||||||
.qfwrap-full { display: inline-block; position: relative; overflow: hidden; width: 33mm; height: 33mm; vertical-align: middle; }
|
.qfwrap-full { display: inline-block; position: relative; overflow: hidden; width: 33mm; height: 33mm; vertical-align: middle; }
|
||||||
.qfwrap-full img { position: absolute; width: 41mm; height: 41mm; top: -4.1mm; left: -4.1mm; }
|
.qfwrap-full img { position: absolute; width: 41mm; height: 41mm; top: -4.1mm; left: -4.1mm; }
|
||||||
|
/* Internal (Layout A) header QR — same ~10% quiet-zone crop, bigger box. */
|
||||||
|
.qfwrap-int { display: inline-block; position: relative; overflow: hidden; width: 30mm; height: 30mm; vertical-align: middle; }
|
||||||
|
.qfwrap-int img { position: absolute; width: 37.5mm; height: 37.5mm; top: -3.75mm; left: -3.75mm; }
|
||||||
.r-fld { padding: 1mm 2.2mm; }
|
.r-fld { padding: 1mm 2.2mm; }
|
||||||
.gtbl { border-collapse: collapse; width: 100%; height: 100%; }
|
.gtbl { border-collapse: collapse; width: 100%; height: 100%; }
|
||||||
.gtbl td { padding: 1mm 2.2mm; vertical-align: middle; }
|
.gtbl td { padding: 1mm 2.2mm; vertical-align: middle; }
|
||||||
@@ -125,8 +128,8 @@
|
|||||||
<span class="lbl" style="color:#fff">Work Order</span>
|
<span class="lbl" style="color:#fff">Work Order</span>
|
||||||
<div style="font-size:30pt;font-weight:900;line-height:0.95"><t t-esc="d['wo']"/></div>
|
<div style="font-size:30pt;font-weight:900;line-height:0.95"><t t-esc="d['wo']"/></div>
|
||||||
</td>
|
</td>
|
||||||
<td style="width:34mm;border-left:0.9mm solid #000;text-align:center;padding:1mm">
|
<td style="width:34mm;border-left:0.9mm solid #000;text-align:center;vertical-align:middle;padding:1mm">
|
||||||
<img t-att-src="_qr" style="width:29mm;height:29mm"/>
|
<span class="qfwrap-int"><img t-att-src="_qr"/></span>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr style="height:12mm" class="rule">
|
<tr style="height:12mm" class="rule">
|
||||||
|
|||||||
Reference in New Issue
Block a user