Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
4 Trả lời
12308 Lượt xem

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

Ảnh đại diện
Huỷ bỏ

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.

Câu trả lời hay nhất

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.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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/

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
4
thg 4 23
4541
2
thg 2 24
14252
1
thg 3 18
3199
1
thg 3 15
4185
0
thg 2 25
1448