[FIX] stock: typo report picking operations
Number of columns may have not been equal to the number of columns
headers which would cause an column mismatching since saas-11' 977d1ac.
opw-687147
This commit is contained in:
@@ -80,13 +80,14 @@
|
||||
<br/>
|
||||
<br/>
|
||||
<table class="table table-condensed" t-if="o.pack_operation_ids">
|
||||
<t t-set="has_barcode" t-value="any([pack_operation.product_id and pack_operation.product_id.barcode or pack_operation.package_id for pack_operation in o.pack_operation_ids])"/>
|
||||
<t t-set="has_serial_number" t-value="o.pack_operation_ids.filtered('pack_lot_ids')" groups="stock.group_production_lot"/>
|
||||
<thead>
|
||||
<tr>
|
||||
<th><strong>Product</strong></th>
|
||||
<th class="text-right"><strong>Quantity</strong></th>
|
||||
<t t-if="o.picking_type_id.code != 'incoming'"><th><strong>Source</strong></th></t>
|
||||
<th t-if="any([pack_operation.product_id and pack_operation.product_id.barcode or pack_operation.package_id for pack_operation in o.pack_operation_ids])" class="text-center">
|
||||
<th t-if="has_barcode" class="text-center">
|
||||
<strong>Barcode</strong>
|
||||
</th>
|
||||
<th t-if="has_serial_number">
|
||||
@@ -106,7 +107,7 @@
|
||||
<span t-field="pack_operation.package_id"/>
|
||||
</td>
|
||||
</t>
|
||||
<td>
|
||||
<td t-if="has_barcode">
|
||||
<span t-if="pack_operation.product_id and pack_operation.product_id.barcode">
|
||||
<img t-att-src="'/report/barcode/?type=%s&value=%s&width=%s&height=%s' % ('Code128', pack_operation.product_id.barcode, 600, 100)" style="width:300px;height:50px"/>
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user