Odoo Help

0

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

By
Leo
on 11/3/15, 12:58 PM 1,362 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--
3110
| 6 5 8
Surat, India
--Jignesh Mehta--

- I have 3+ years of Industry Experience, specializing Odoo Development, Analysis, Customization, Implementation, Integration.
- I have done many Customization modules in Sale, Purchase, Point of Sale, Inventory, CRM and much more. Also Worked in the Odoo Themes like Business Theme or E-Commerce Theme.
- Develop Jewelery Manufacturing process from Scratch. It have more than 10 Department. Develop PDF and Excel reports for this project around 150 per format.

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

About This Community

This platform 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.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

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