Skip to Content
Menu
This question has been flagged
4 Replies
4457 Zobrazenia

I want to put barcodes into the report. I have tried few methods and still cannot do it

Is there a good way to generate barcode to report?

Avatar
Zrušiť
Best Answer

Hi

Refere below link may help you

https://sites.google.com/site/guenterbartsch/blog/openerpprintsinglebarcodelabelsdirectlyfromproductview

https://www.odoo.com/forum/help-1/question/how-can-we-generate-barcode-in-openerp7-0-14947

http://acespritechblog.wordpress.com/2014/03/27/openerp-product-barcode-report/

Avatar
Zrušiť
Best Answer

Hi,

You need to add the below code to add the barcode in your report

<barcode x="1cm" y="1cm" height="1cm" code="EAN13">7501031311309</barcode>


Regards

Avatar
Zrušiť
Best Answer

You can use the following code in your RML report file: www.reportlab.com/examples/rml/test/test_006_barcodes.pdf

You can also check out my answer here for more details: https://www.odoo.com/forum/help-1/question/automatic-qr-code-to-invoice-sales-order-quotations-and-products-33172

Avatar
Zrušiť
Autor

I tried [[ (o.partner_id.phone) or removeParentNode('para') ]] to iaccount_print_invoice.rml but it still gives me numbers

Autor
[[ (o.partner_id.phone) or removeParentNode('para') ]]
Autor

is there any font that I need to install to print barcode?

Please put your RML snippet here http://pastebin.com/ and share with us the link.

Autor Best Answer

My code is as below:

http://pastebin.com/pPre0Frd

and I can only print the value but not the barcode, is there anything I need to install?

Avatar
Zrušiť
Related Posts Replies Zobrazenia Aktivita
1
mar 15
4063
1
jan 24
4770
4
dec 22
12213
0
mar 15
5054
2
feb 24
12975