2
我尝试了所有这些代码。但它不工作?其实我正在用条形码添加'*',但它不起作用。是否需要配置条形码术语或对条形码术语进行任何更改?打印条形码在odoo收据中不起作用?代码39格式不起作用?
<img t-att-src="'/report/barcode/?type=%s&value=%s&width=%s&height=%s' % ('EAN13', '2210000000001', 600, 100)" style="width:300px;height:50px;"/>
<barcode encoding="code128">
<t t-esc='receipt.orderbarcode' />
</barcode>
<barcode encoding="CODE39">
<t t-esc='receipt.orderbarcode' />
</barcode>
有什么建议吗?