Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
4 Odgovori
4515 Prikazi

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
Opusti
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
Opusti
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
Opusti
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
Opusti
Avtor

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

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

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.

Avtor 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
Opusti
Related Posts Odgovori Prikazi Aktivnost
1
mar. 15
4118
1
jan. 24
4825
4
dec. 22
12278
0
mar. 15
5113
2
feb. 24
13059