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

V7 How to generate barcode with .rml file

By
willie ho
on 9/24/14, 3:55 AM 807 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?

0

Atchuthan - Technical Consultant, Sodexis Inc

--Atchuthan - Technical Consultant, Sodexis Inc--
3918
| 5 3 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

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: 9/24/14, 3:55 AM
Seen: 807 times
Last updated: 3/16/15, 8:10 AM