Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
4 ตอบกลับ
12485 มุมมอง

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.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
4
เม.ย. 23
4665
2
ก.พ. 24
14574
1
มี.ค. 18
3308
1
มี.ค. 15
4354
2
ก.ย. 25
280