2017-04-03 58 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;" />