Odoo Help


V7 How to generate barcode with .rml file

willie ho
on 9/24/14, 3:55 AM 1,182 views

Let say I am changing the tel number of invoice to a barcode

I added the following code to the .rml file 

<barCode  x="5cm" y="17cm" height="2cm" width="5cm" code="Ean13">[[ (o.partner_id.phone) or removeParentNode('para') ]]</barCode>

and I can only print the number but not the barcode

what should I install to make the barcode?


Atchuthan - Technical Consultant, Sodexis Inc

--Atchuthan - Technical Consultant, Sodexis Inc--
| 5 5 8
Puducherry, India
--Atchuthan - Technical Consultant, Sodexis Inc--
Passionate coder in Python/Odoo(formerly known as OpenERP).

Contact me via GMail: atchuthantu@gmail.com via Skype: atchuthan_skype
via Linkedin: http://in.linkedin.com/in/atchuthantu
Atchuthan - Technical Consultant, Sodexis Inc
On 9/24/14, 5:51 AM

I tried to print a barcode w.r.t ean13 for products

<barCode code="EAN13" x="300" height="30" fontName="Times-Roman" fontSize="40"  alignment="CENTER">[[ o.ean13 ]]</barCode>


I tried this code but it gives out value only, do I need to install anything else?

willie ho
on 9/24/14, 9:25 PM

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.


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)


Asked: 9/24/14, 3:55 AM
Seen: 1182 times
Last updated: 3/16/15, 8:10 AM