Skip to Content
Odoo Menu
  • Zaloguj się
  • Wypróbuj za darmo
  • Aplikacje
    Finanse
    • Księgowość
    • Fakturowanie
    • Wydatki
    • Arkusz kalkulacyjny (BI)
    • Dokumenty
    • Podpisy
    Sprzedaż
    • CRM
    • Sprzedaż
    • PoS Sklep
    • PoS Restauracja
    • Subskrypcje
    • Wypożyczalnia
    Strony Internetowe
    • Kreator Stron Internetowych
    • eCommerce
    • Blog
    • Forum
    • Czat na Żywo
    • eLearning
    Łańcuch dostaw
    • Magazyn
    • Produkcja
    • PLM
    • Zakupy
    • Konserwacja
    • Jakość
    Zasoby Ludzkie
    • Pracownicy
    • Rekrutacja
    • Urlopy
    • Ocena pracy
    • Polecenia Pracownicze
    • Flota
    Marketing
    • Marketing Społecznościowy
    • E-mail Marketing
    • SMS Marketing
    • Wydarzenia
    • Automatyzacja Marketingu
    • Ankiety
    Usługi
    • Projekt
    • Ewidencja czasu pracy
    • Usługi Terenowe
    • Helpdesk
    • Planowanie
    • Spotkania
    Produktywność
    • Dyskusje
    • Zatwierdzenia
    • IoT
    • VoIP
    • Baza wiedzy
    • WhatsApp
    Aplikacje trzecich stron Studio Odoo Odoo Cloud Platform
  • Branże
    Sprzedaż detaliczna
    • Księgarnia
    • Sklep odzieżowy
    • Sklep meblowy
    • Sklep spożywczy
    • Sklep z narzędziami
    • Sklep z zabawkami
    Żywienie i hotelarstwo
    • Bar i Pub
    • Restauracja
    • Fast Food
    • Pensjonat
    • Dystrybutor napojów
    • Hotel
    Agencja nieruchomości
    • Agencja nieruchomości
    • Biuro architektoniczne
    • Budowa
    • Zarządzanie nieruchomościami
    • Ogrodnictwo
    • Stowarzyszenie właścicieli nieruchomości
    Doradztwo
    • Biuro księgowe
    • Partner Odoo
    • Agencja marketingowa
    • Kancelaria prawna
    • Agencja rekrutacyjna
    • Audyt i certyfikacja
    Produkcja
    • Tekstylia
    • Metal
    • Meble
    • Jedzenie
    • Browar
    • Prezenty firmowe
    Zdrowie & Fitness
    • Klub sportowy
    • Salon optyczny
    • Centrum fitness
    • Praktycy Wellness
    • Apteka
    • Salon fryzjerski
    Transakcje
    • Złota rączka
    • Wsparcie Sprzętu IT
    • Systemy energii słonecznej
    • Szewc
    • Firma sprzątająca
    • Usługi HVAC
    Inne
    • Organizacja non-profit
    • Agencja Środowiskowa
    • Wynajem billboardów
    • Fotografia
    • Leasing rowerów
    • Sprzedawca oprogramowania
    Przeglądaj wszystkie branże
  • Community
    Ucz się
    • Samouczki
    • Dokumentacja
    • Certyfikacje
    • Szkolenie
    • Blog
    • Podcast
    Pomóż w nauce innym
    • Program Edukacyjny
    • Scale Up! Gra biznesowa
    • Odwiedź Odoo
    Skorzystaj z oprogramowania
    • Pobierz
    • Porównaj edycje
    • Wydania
    Współpracuj
    • Github
    • Forum
    • Wydarzenia
    • Tłumaczenia
    • Zostań partnerem
    • Usługi dla partnerów
    • Zarejestruj swoją firmę rachunkową
    Skorzystaj z usług
    • Znajdź partnera
    • Znajdź księgowego
    • Spotkaj się z doradcą
    • Usługi wdrożenia
    • Opinie klientów
    • Wsparcie
    • Aktualizacje
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Zaplanuj demo
  • Cennik
  • Pomoc

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

  • CRM
  • e-Commerce
  • Księgowość
  • Zapasy
  • PoS
  • Projekt
  • MRP
All apps
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
Wszystkie posty Osoby Odznaki
Tagi (Zobacz wszystko)
odoo accounting v14 pos v15
O tym forum
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
Wszystkie posty Osoby Odznaki
Tagi (Zobacz wszystko)
odoo accounting v14 pos v15
O tym forum
Pomoc

Odoo 11 CE barcode not printing wkhtmltopdf

Zaprenumeruj

Otrzymaj powiadomienie o aktywności w tym poście

To pytanie dostało ostrzeżenie
barcodewkhtmltopdfodoo11community
3 Odpowiedzi
7557 Widoki
Awatar
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
Awatar
Odrzuć
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.

Awatar
Alain Van Utterbeeck
Autor Najlepsza odpowiedź

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
Awatar
Odrzuć
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.

Awatar
Niyas Raphy (Walnut Software Solutions)
Najlepsza odpowiedź

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
Awatar
Odrzuć
Podoba Ci się ta dyskusja? Dołącz do niej!

Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!

Zarejestruj się
Powiązane posty Odpowiedzi Widoki Czynność
How to resolve dependency issue of Wkhtmltopdf in Ubuntu 18.0? Rozwiązane
wkhtmltopdf odoo11community
Awatar
Awatar
Awatar
5
kwi 19
19022
Can I remove the "Product Barcode Lookup" module from my database? Rozwiązane
barcode
Awatar
Awatar
Awatar
2
wrz 25
714
How can I customize product labels to show additional information?
barcode
Awatar
Awatar
Awatar
2
wrz 25
955
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
Awatar
0
mar 25
3340
ir_actions_report.py in _run_wkhtmltopdf raise UserError odoo.exceptions.UserError Wkhtmltopdf failed ( error code : -10)
wkhtmltopdf
Awatar
1
mar 25
3283
Społeczność
  • Samouczki
  • Dokumentacja
  • Forum
Open Source
  • Pobierz
  • Github
  • Runbot
  • Tłumaczenia
Usługi
  • Hosting Odoo.sh
  • Wsparcie
  • Aktualizacja
  • Indywidualne rozwiązania
  • Edukacja
  • Znajdź księgowego
  • Znajdź partnera
  • Zostań partnerem
O nas
  • Nasza firma
  • Zasoby marki
  • Skontaktuj się z nami
  • Oferty pracy
  • Wydarzenia
  • Podcast
  • Blog
  • Klienci
  • Informacje prawne • Prywatność
  • Bezpieczeństwo Odoo
الْعَرَبيّة 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 to pakiet aplikacji biznesowych typu open source, które zaspokoją wszystkie potrzeby Twojej firmy: CRM, eCommerce, księgowość, inwentaryzacja, punkt sprzedaży, zarządzanie projektami itp.

Unikalną wartością Odoo jest to, że jest jednocześnie bardzo łatwe w użyciu i w pełni zintegrowane.

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