[FIX] stock_picking_batch: add missing space in table
This commit makes it so when a stock_picking_batch report with 1+ SN/lot values assigned is printed, then the rows without a SN/lot value will properly align the rest of its values afterwards (i.e. keep product barcodes from printing in Lot/SN column). Discovered during overall barcode improvement task. Task: 1884520 Closes: odoo/odoo#55096
This commit is contained in:
committed by
svs-odoo
parent
2ed3f2f98b
commit
d70337172f
@@ -100,8 +100,8 @@
|
||||
<td>
|
||||
<span t-esc="move_operation.mapped('picking_id').display_name"/>
|
||||
</td>
|
||||
<td t-if="has_serial_number and (move_operation.lot_id or move_operation.lot_name)" class="text-center h6" width="15%">
|
||||
<img t-att-src="'/report/barcode/?type=%s&value=%s&width=%s&height=%s&humanreadable=1' % ('Code128', move_operation.lot_id.name, 600, 100)" style="width:100%;height:35px;" alt="Barcode"/>
|
||||
<td t-if="has_serial_number" class="text-center h6" width="15%">
|
||||
<img t-if="move_operation.lot_id or move_operation.lot_name" t-att-src="'/report/barcode/?type=%s&value=%s&width=%s&height=%s&humanreadable=1' % ('Code128', move_operation.lot_id.name, 600, 100)" style="width:100%;height:35px;" alt="Barcode"/>
|
||||
</td>
|
||||
<td width="15%" class="text-center" t-if="has_barcode">
|
||||
<span t-if="move_operation.product_id and move_operation.product_id.barcode">
|
||||
|
||||
Reference in New Issue
Block a user