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

How to solving missing header & footer images in qweb?

Zaprenumeruj

Otrzymaj powiadomienie o aktywności w tym poście

To pytanie dostało ostrzeżenie
qwebodooV8
4 Odpowiedzi
11948 Widoki
Awatar
Mohammed Khamis

I have a problem with header & footer when it be image in pages exceeded on 3 pages I miss the header and footer Although I make upgrade for wkhtmltopdf . please help me for this issue thank you so much

0
Awatar
Odrzuć
Awatar
Anil Kesariya
Najlepsza odpowiedź

Mohammed Khamis,

There mayb be two possibilities for qweb header when report doesn't give proper report format.

1) When wkhtmltopdf is not successfully installed with proper os compatible version than header and footer doesn't appears in the report. I faced the same issue many time with different os finally in my system ubuntu 12.04.5 with precise version of wkhtmltopdf is working perfectly without any issues.

2) when you customize your header and your report is overlapped with header than you need to set paper format in, that you can extended the header and footer margin.

Hope this will helps you.

Regards,

Anil.


3
Awatar
Odrzuć
Awatar
shubham shiroya
Najlepsza odpowiedź

If you are experiencing issues with the header and footer not appearing when using images in pages that exceed three pages in the PDF generated by Odoo, here are a few steps you can take to troubleshoot and resolve the problem:

  1. Check the page size and image size:

    • Verify the page size configuration in your Odoo settings. Ensure that it is set to an appropriate size to accommodate the content, including the images.
    • Check the size of the images you are including in the document. Large images may cause layout issues and push the content beyond the page boundaries.
  2. Adjust the header and footer position:

    • In the document template for the header and footer, try adjusting the positioning of the elements to accommodate the larger content.
    • You can use CSS properties like position, top, bottom, left, and right to fine-tune the positioning of the header and footer.
  3. Upgrade wkhtmltopdf to the latest version:

    • Ensure that you have the latest version of wkhtmltopdf installed. You can download it from the official website: https://wkhtmltopdf.org/downloads.html
    • Restart your Odoo server after installing the updated version to apply the changes.
  4. Split the content into multiple pages:

    • If the document content, including images, exceeds the page limits, consider splitting the content into multiple pages manually.
    • You can use Odoo's QWeb templating language to conditionally render the content based on page breaks. For example, you can check the page number and conditionally render headers and footers after a specific page.
  5. Optimize images:

    • If the size of the images is causing layout issues, you can optimize them to reduce their file size without compromising too much on the image quality.
    • Use image editing tools or online image optimization services to compress the images and reduce their file size.
  6. Use external CSS for styling:

    • Instead of relying solely on the header and footer templates, you can define the styles for the header and footer using external CSS files.
    • This approach provides more flexibility in handling layout issues and controlling the positioning of elements.


0
Awatar
Odrzuć
Awatar
shaneebkhan
Najlepsza odpowiedź

hi, 

hear the problem was installation of wkhtmltopdf 

i have same issue in odoo 16 finally i corrected by proper installation of wkhtmltopdf

first we have to install wkhtmltopdf ubuntu 22 terminal

      1.    apt install wkhtmltopdf

      2. wkhtmltopdf --version 

      whether its 0.12.6 remove and download 0.12.5

      3.wget https://github\\\.com/wkhtmltopdf/wkhtmltopdf/releases/download/0\\\.12\\\.5/wkhtmltox_0\\\.12\\\.5\\\-1\\\.bionic_amd64\\\.deb

     \\\ 4\\\.sudo\\\ dpkg\\\ \\\-i\\\ \\\ wkhtmltox_0\\\.12\\\.5\\\-1\\\.bionic_amd64\\\.deb

sometimes\\\ it\\\ may\\\ error\\\ then\\\ try\\\ to\\\ install\\\ one\\\ or\\\ two\\\ things 

    \\\ 1\\\.wget\\\ http://archive\\\.ubuntu\\\.com/ubuntu/pool/main/o/openssl/libssl1\\\.1_1\\\.1\\\.1\\\-1ubuntu2\\\.1\\\~18\\\.04\\\.22_amd64\\\.deb

   \\\ 2\\\.sudo\\\ dpkg\\\ \\\-i\\\ libssl1.1_1.1.1-1ubuntu2.1~18.04.22_amd64.deb

    3.sudo apt-get install xfonts-75dpi

    4.sudo apt-get update

    5.apt --fix-broken install


finally confirm  the "wkhtmltopdf version is  0.12.5"

0
Awatar
Odrzuć
Awatar
Mariusz Rajfura
Najlepsza odpowiedź

This is not solution for Your problem, but it may help (v8,qweb).

I had "strange" effects with usage of wkhtmltopdf in different versions e.g. visible/invisible headers. After many tries with instalations of clean odoo, I have seen, that view of generated report depended ALSO on update module "report" but NOT ONLY version of wkhtmltopdf. Of course module "report" was not modified.

Use option:

--update=report

I work on debian (8, little 7). All versions of wktmltopdf I have got from its home page. I am newbie in odoo.

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ść
Set maximum displayed rows table in qweb
qweb odooV8
Awatar
Awatar
1
sty 19
10453
QWebException: ('MissingError', u'One of the documents you are trying to access has been deleted, please try again after refreshing.')
qweb odooV8
Awatar
0
paź 17
4256
odoo v8 qweb report page subtotal
qweb odooV8
Awatar
0
lis 16
3492
Qweb report, center header in landscape and portrait
qweb odooV8
Awatar
0
paź 16
5710
How to costum my report?
qweb odooV8
Awatar
0
sie 16
3701
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