[IMP] stock_barcode_picking_batch: improve barcode usuability
Add the name in a barcode form into the printed batch transfer to use the enterprise feature. The barcode is now in the printed batch transfer and there is a new print action in the batch transfer model. task-2196687
This commit is contained in:
@@ -11,7 +11,12 @@
|
||||
<t t-set="locations" t-value="move_line_ids.mapped('location_id').sorted(lambda location: location.complete_name)"/>
|
||||
<t t-call="web.external_layout">
|
||||
<div class="page">
|
||||
<h3>Summary: <span t-field="o.name"/></h3>
|
||||
<div class="d-flex">
|
||||
<div><h3>Summary: <span t-field="o.name"/></h3></div>
|
||||
<div class="mr-auto">
|
||||
<img alt="Barcode" t-att-src="'/report/barcode/?type=%s&value=%s&width=%s&height=%s' % ('Code128', quote_plus(o.name or ''), 600, 150)" style="width:300px;height:50px"/>
|
||||
</div>
|
||||
</div>
|
||||
<div t-if="o.user_id">
|
||||
<strong>Responsible:</strong>
|
||||
<span t-field="o.user_id"/>
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
id="action_report_picking_batch"
|
||||
model="stock.picking.batch"
|
||||
report_type="qweb-pdf"
|
||||
menu="False"
|
||||
name="stock_picking_batch.report_picking_batch"
|
||||
file="stock_picking_batch.report_picking_batch"
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user