Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

How can I add the invoice number as a barcode in the invoice template?

By
Leo
on 11/3/15, 12:58 PM 711 views

I have tried adding to RML code

<barcode x="5 cm" y="17" code="Code128><123456></barcode>

But it did not work. The idea is to convert the invoice number to a barcode. Do I need to do/add something else?

2

Jignesh Mehta

--Jignesh Mehta--
2081
| 6 4 8
Surat, India
--Jignesh Mehta--


Jignesh Mehta
On 11/4/15, 4:26 AM

Hello Leo,


Try This :-

<barCode code="code128" quiet="9" barWidth="2.00" fontSize="350" alignment="CENTER">[[ o.number]]</barCode>


Try This :-

<barcode x="1cm" y="1cm" code="code128">[[ o.number]</barcode>


Hope it is works for you.

Thanks,

Thanks for your help! I tried again with the command you wrote, but it still shows nothing. Do I need to add something else?

Leo
on 11/4/15, 10:43 PM

See my updated answer. It works fine for me. Hope It also works for you. Thanks,

Jignesh Mehta
on 11/5/15, 2:16 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 11/3/15, 12:58 PM
Seen: 711 times
Last updated: 11/5/15, 2:15 AM