mirror of
https://github.com/bringout/oca-ocb-sale.git
synced 2026-04-27 02:12:05 +02:00
19.0 vanilla
This commit is contained in:
parent
79f83631d5
commit
73afc09215
6267 changed files with 1534193 additions and 1130106 deletions
|
|
@ -4,39 +4,41 @@
|
|||
<template id="report_packagingbarcode">
|
||||
<t t-call="web.basic_layout">
|
||||
<div class="page">
|
||||
<div class="oe_structure"/>
|
||||
<t t-foreach="docs" t-as="packaging">
|
||||
<div class="col-4" style="padding:0;">
|
||||
<div class="oe_structure"></div>
|
||||
<table class="table table-condensed" style="border-bottom: 0px solid white !important;width: 3in;">
|
||||
<tr>
|
||||
<th style="text-align: left;">
|
||||
<strong t-field="packaging.name"/>
|
||||
<strong><span t-field="packaging.uom_id.name">Package Type A</span></strong>
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<strong t-field="packaging.product_id.display_name"/>
|
||||
<strong><span t-field="packaging.product_id.display_name">Eco-friendly Wooden Chair</span></strong>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="o_row">
|
||||
<strong>Qty: </strong>
|
||||
<strong t-field="packaging.qty"/>
|
||||
<strong t-field="packaging.product_uom_id" groups="uom.group_uom"/>
|
||||
<strong><span t-field="packaging.uom_id.relative_factor">10</span></strong>
|
||||
<strong><span t-field="packaging.uom_id.relative_uom_id" groups="uom.group_uom">Units</span></strong>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<t t-if="packaging.barcode">
|
||||
<tr>
|
||||
<tr>
|
||||
<td style="text-align: center; vertical-align: middle;" class="col-5">
|
||||
<div t-field="packaging.barcode" t-options="{'widget': 'barcode', 'symbology': 'auto', 'width': 600, 'height': 150, 'img_style': 'width:100%;height:20%;'}"/>
|
||||
<span t-field="packaging.barcode"/>
|
||||
<span t-field="packaging.barcode">123456789012</span>
|
||||
</td>
|
||||
</tr>
|
||||
</t>
|
||||
</table>
|
||||
<div class="oe_structure"/>
|
||||
</div>
|
||||
</t>
|
||||
<div class="oe_structure"/>
|
||||
</div>
|
||||
</t>
|
||||
</template>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue