Ir al contenido
Menú
Se marcó esta pregunta
4 Respuestas
4399 Vistas

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
Descartar
Mejor respuesta

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
Descartar
Mejor respuesta

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
Descartar
Mejor respuesta

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
Descartar
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 Mejor respuesta

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
mar 15
3983
1
ene 24
4693
4
dic 22
12171
0
mar 15
4951
2
feb 24
12921