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

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?

Аватар
Отменить
Лучший ответ

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/

Аватар
Отменить
Лучший ответ

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

Аватар
Отменить
Лучший ответ

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

Аватар
Отменить
Автор

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

Автор
[[ (o.partner_id.phone) or removeParentNode('para') ]]
Автор
Автор

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.

Автор Лучший ответ

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?

Аватар
Отменить
Related Posts Ответы Просмотры Активность
1
мар. 15
4059
1
янв. 24
4760
4
дек. 22
12210
0
мар. 15
5034
2
февр. 24
12968