Odoo Aide

5 Answers
Ayaz Mansuri
17/12/2015 08:28

Thanks Mr. Jaydeep, Your Answer really works for me. <div class="text-center" t-esc="o.ean13"/>
also Mr. Axel. I've define <span t-esc="o.ean13"/> in new table...So appreciate both of you.
Again Thank You very much


Axel Mendoza

--Axel Mendoza--
| 7 8 8
Camaguey, Cuba
--Axel Mendoza--

DevOps - Full stack - Software Architect - Developer - Technology Integrator

I could help you to develop anything and solve complex problems based on technologies, integrations and tricky stuffs mostly in Python with OpenERP/Odoo, Zato, Django and many others frameworks programming languages and technologies.

I offers consulting services to anyone with an unanswered questions or needs for customizations. Think about it, maybe it's better to have an expert to solve your issues and projects than having a full-time employee trying to understand what to do and how

Reach me at aekroft@gmail.com

Axel Mendoza
03/12/2015 07:58

That's because you are defining an image using that ean13 value but you are not printing the value, like:

<span t-esc="o.ean13"/>

Jaydeep Barot (jar)
04/12/2015 08:02

use this <img t-att-src="'/report/barcode/?type=%s&value=%s&width=%s&height=%s' % ('EAN13', o.ean13, 600, 900)" style="width:100%;height:100px"/> <div class="text-center" t-esc="o.ean13"/>

Axel Mendoza
04/12/2015 11:47

For what? The need is to display the ean13 value, the barcode image it's ok

Jaydeep Barot (jar)
03/12/2015 05:43

Hello Ayaz Mansuri,

upgrade your reportlab in python

following below steps and print product label report

Step 1 : Download "reportlab 3.2.0.tar.gz" from this site reportlab 3.2.0

Step 2 : Extract it and In terminal go to that folder and use this command "sudo python setup.py install"

Step 3 : restart your server and print the product label report.

Hope this one help you.

Thanks & Regards,

Jaydeep Barot

Poser une question
Keep Informed
2 Abonné(e)s
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