summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorWilliam Henrotin <whe@odoo.com>2018-09-18 15:38:12 +0200
committerWilliam Henrotin <whe@odoo.com>2018-09-18 15:38:50 +0200
commit7c966324974cb253491b72305e1751b1b5439545 (patch)
treef09a6bc0e37d59773d615ee2750ed523acb7d536 /addons
parentc0d7a05730dca242ad60192b9905891e3afa9a90 (diff)
[FIX] stock: wrong barcode encoding
Commit 3cebe88 set the barcode encoding of production lot to EAN13 in the pdf report. It should be Code128 as lot barcode are the lot name.
Diffstat (limited to 'addons')
-rw-r--r--addons/stock/report/report_lot_barcode.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/stock/report/report_lot_barcode.xml b/addons/stock/report/report_lot_barcode.xml
index 6a6b8cefb7a..40459c3dd63 100644
--- a/addons/stock/report/report_lot_barcode.xml
+++ b/addons/stock/report/report_lot_barcode.xml
@@ -23,7 +23,7 @@
</tr>
<tr>
<td style="text-align: center; vertical-align: middle;" class="col-5">
- <img t-if="o.name" t-att-src="'/report/barcode/?type=%s&amp;value=%s&amp;width=%s&amp;height=%s' % ('EAN13', o.name, 600, 150)" style="width:100%;height:20%;"/>
+ <img t-if="o.name" t-att-src="'/report/barcode/?type=%s&amp;value=%s&amp;width=%s&amp;height=%s' % ('Code128', o.name, 600, 150)" style="width:100%;height:20%;"/>
</td>
</tr>
</table>