Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
4 Ответы
12265 Представления

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
4513
2
февр. 24
14187
1
мар. 18
3174
1
мар. 15
4115
0
февр. 25
1391