Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
4 Odpovědi
12198 Zobrazení

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

Avatar
Zrušit

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.

Nejlepší odpověď

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.

Avatar
Zrušit
Nejlepší odpověď

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/

Avatar
Zrušit
Nejlepší odpověď

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.

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
4
dub 23
4425
2
úno 24
14049
1
bře 18
3116
1
bře 15
4025
0
úno 25
1282