跳至内容
菜单
此问题已终结
4 回复
12250 查看

hello I am novice in openerp,I want to generate bar code but I dont know what to do,please help me!

形象
丢弃

Where do you want to print the barcode? Sale Order, Invoice, Product Label? Should it be printed as number or as real barcode?

With a barcode label generator, you can generate barcode labels for your invoice. So I still did not get essence of your problem. You have make your question more specific.

最佳答案

You can use <barCode> tag in rml to generate barcode.

[[ repeatIn(objects,'o')]]
<blockTable colWidths="120"  style="Table_1">
    <tr>
        <td>
            <barCode code="Code128" x="0.0cm" y="0.0cm" quiet="0" style="barcode" barWidth="1" barHeight="14">[[ o.name ]]</barCode>
        </td>
    </tr>
</blockTable>

You can study Barcode render code at Barcode Render.

形象
丢弃
最佳答案

If you create your reports with LibreOffice (.sxw-file) you could try something like this:

E.g.

[[ setTag('para','barCode',{'code':'Standard39','value':'o.name','barHeight':'15.0'}) or removeParentNode('para') ]]

Check the rml-reference on barCode-tag for more information:

http://www.reportlab.com/software/rml-reference/

形象
丢弃
最佳答案

With a barcode label generator, you can generate barcode labels for your invoice. So I still did not get essence of your problem. You have make your question more specific.

形象
丢弃
相关帖文 回复 查看 活动
4
4月 23
4503
2
2月 24
14166
1
3月 18
3154
1
3月 15
4112
0
2月 25
1369