diff options
| author | William Henrotin <whe@odoo.com> | 2018-09-18 15:38:12 +0200 |
|---|---|---|
| committer | William Henrotin <whe@odoo.com> | 2018-09-18 15:38:50 +0200 |
| commit | 7c966324974cb253491b72305e1751b1b5439545 (patch) | |
| tree | f09a6bc0e37d59773d615ee2750ed523acb7d536 /addons | |
| parent | c0d7a05730dca242ad60192b9905891e3afa9a90 (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.xml | 2 |
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&value=%s&width=%s&height=%s' % ('EAN13', o.name, 600, 150)" style="width:100%;height:20%;"/> + <img t-if="o.name" t-att-src="'/report/barcode/?type=%s&value=%s&width=%s&height=%s' % ('Code128', o.name, 600, 150)" style="width:100%;height:20%;"/> </td> </tr> </table> |
