Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Real Estate
    • Real Estate Agency
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consulting
    • Accounting Firm
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Solar Energy Systems
    • Shoe Maker
    • Serveis de neteja
    • HVAC Services
    Others
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

Odoo 11 CE barcode not printing wkhtmltopdf

Subscriure's

Get notified when there's activity on this post

This question has been flagged
barcodewkhtmltopdfodoo11community
3 Respostes
7544 Vistes
Avatar
Alain Van Utterbeeck

I have a report to print labels, in it I have:

<img t-att-src="'/report/barcode/?type=%s&amp;value=%s&amp;width=%s&amp;height=%s' % ('Code128', label.default_code, 600, 150)" style="width: 40mm;height: 12mm;horizontal-align: center"/>

On the report the barcode is not printed (a blank area), but if I change the report type to html, then it works fine and the barcode is displayed on the screen, but I need it in PDF of course for printing.

I tried with wkhtmltopdf versions: 0.12.1 , 0.12.3 , 0.12.4 , 0.12.5

What could be wrong?


0
Avatar
Descartar
Cybrosys Techno Solutions Pvt.Ltd

Reportlab is properly installed (in html the label with barcode is displayed correctly, testing /report/barcode... in browser works fine), so I think the problem is not the same, I believe it is actually related to wkhtmltopdf.

Avatar
Alain Van Utterbeeck
Autor Best Answer

Found this: https://github.com/odoo/odoo/issues/3234 -->

Another thing to check is that the 'web.base.url' system parameter is set correctly - it's especially easy to get caught out by this if you've changed the default XML-RPC port. I've got Nick-OpusVL to thank for highlighting this little gotcha: #1105

So  I corrected report.url and web.base.url because those were still pointing to the production environment instead of this new testenvironment: solved my problem

0
Avatar
Descartar
Ahmed Salah

Can you explain

OdooBot
- try in your browser:  http://localhost:8069/report/barcode/Code128/test-0001
does that show the barcode:
yes-> check system parameters
no-> install reportlab

system parameters:
set report.url to http://127.0.0.1:8069

That's what solved it for me.

On Thu, May 9, 2019 at 1:07 PM Ahmed Salah <ahmedodoo11@gmail.com> wrote:

Can you explain

Sent by Odoo S.A. using Odoo.



--
Alain Van Utterbeeck

ODOO Developer


 

DR Gaming Technology Europe nv/sa
Office: +32 50 60.81.85 | Cell: +32 485.69.37.90


–––––––––––––––––––––––––––––––––
–


DISCLAIMER


This e-mail is from DR Gaming Technology nv/sa located in Belgium (BE).The messages you send and/or receive are transmitted via the Internet. It is therefore impossible for us to guarantee the confidentiality, accuracy and completeness of data and/or documents that are sent by electronic mail and we accept no liability for consequences and/or damage whatsoever related to data and/or documents which are thus communicated. The information in this e-mail is confidential and intended solely for the person to whom it is addressed. If this message is not addressed to you, please be aware that you have no authorisation to read the content of this e-mail, to copy it or to furnish it to any person other than the addressee or take any action in reliance on it. Should you have received this e-mail by mistake, please bring this immediately to the attention of the sender, after which you are kindly requested to destroy the message and not to disclose or disperse its content. Only when this message is supported by lawfully signed documents can any rights be derived from the content of this message with regard to DR Gaming Technology nv/sa.

Avatar
Niyas Raphy (Walnut Software Solutions)
Best Answer

Hi,

Check whether the Python package reportlab is installed or not. If not install it and also refer this similar question already asked and solved: https://www.odoo.com/forum/help-1/question/the-barcode-is-not-displayed-in-qweb-report-odoo-92297


Thanks

0
Avatar
Descartar
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Registrar-se
Related Posts Respostes Vistes Activitat
How to resolve dependency issue of Wkhtmltopdf in Ubuntu 18.0? Solved
wkhtmltopdf odoo11community
Avatar
Avatar
Avatar
5
d’abr. 19
19007
Can I remove the "Product Barcode Lookup" module from my database? Solved
barcode
Avatar
Avatar
Avatar
2
de set. 25
709
How can I customize product labels to show additional information?
barcode
Avatar
Avatar
Avatar
2
de set. 25
941
Odoo #V17 and #V18 QWeb template with web.internal_layout : the report throws the error UserError odoo.exceptions.UserError #Wkhtmltopdf failed (error code : -10)
wkhtmltopdf
Avatar
0
de març 25
3301
ir_actions_report.py in _run_wkhtmltopdf raise UserError odoo.exceptions.UserError Wkhtmltopdf failed ( error code : -10)
wkhtmltopdf
Avatar
1
de març 25
3253
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now