【问题标题】:Print Barcode type as 'code128' not scanning in odoo打印条形码类型为“code128”不在odoo中扫描
【发布时间】:2018-02-22 13:03:36
【问题描述】:

我创建了一个带有一些标准的产品代码..

我的条形码长度约为 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;"  />

谁能帮我解决这个问题。

【问题讨论】:

    标签: barcode odoo-10


    【解决方案1】:

    尝试将条形码格式从 Code128 更改为 EAN13

    <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;" />
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2020-10-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-08-08
      相关资源
      最近更新 更多