2017-04-03 56 views
0

我已经创建了一些标准产品代码..打印条码类型为“CODE128”在odoo不扫描

我的条码lenth大约是26-30个字符..

我可以正常打印条码,但当扫描/读取它没有得到价值..

我的条码:

47789456789234/100001|417-19D 

print_barcode.xml

<img t-att-src="'/report/barcode/?type=%s&amp;value=%s&amp;width=%s&amp;height=%s' % 
    ('Code128', l.lot_id.name, 600, 100)" 
    style="width:300px;height:50px;" /> 

任何人都可以帮助我解决这个问题。

回答

1

尝试从改变条码格式EAN13的Code128

<img t-att-src="'/report/barcode/?type=%s&amp;value=%s&amp;width=%s&amp;height=%s' %('EAN13', l.lot_id.name, 600, 100)" style="width:300px;height:50px;" />