Přejít na obsah
Odoo Menu
  • Přihlásit se
  • Vyzkoušejte zdarma
  • Aplikace
    Finance
    • Účetnictví
    • Fakturace
    • Výdaje
    • Spreadsheet (BI)
    • Dokumenty
    • Podpisy
    Prodej
    • CRM
    • Prodej
    • POS Obchod
    • POS Restaurace
    • Předplatné
    • Pronájem
    Webové stránky
    • Webové stránky
    • E-shop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Dodavatelský řetězec
    • Sklad
    • Výroba
    • PLM
    • Nákup
    • Údržba
    • Kvalita
    Lidské zdroje
    • Zaměstnanci
    • Nábor
    • Volno
    • Hodnocení zaměstnanců
    • Doporučení
    • Vozový park
    Marketing
    • Marketing sociálních sítí
    • Emailový marketing
    • SMS Marketing
    • Události
    • Marketingová automatizace
    • Dotazníky
    Služby
    • Projekt
    • Časové výkazy
    • Práce v terénu
    • Helpdesk
    • Plánování
    • Schůzky
    Produktivita
    • Diskuze
    • Schvalování
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Aplikace třetích stran Odoo Studio Odoo cloudová platforma
  • Branže
    Maloobchod
    • Knihkupectví
    • Obchod s oblečením
    • Obchod s nábytkem
    • Potraviny
    • Obchod s hardwarem
    • Hračkářství
    Food & Hospitality
    • Bar a Pub
    • Restaurace
    • Fast Food
    • Guest House
    • Distributor nápojů
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architektonická firma
    • Stavba
    • Správa nemovitostí
    • Zahradnictví
    • Asociace vlastníků nemovitosti
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketingová agentura
    • Právník
    • Akvizice talentů
    • Audit a certifikace
    Výroba
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Korporátní dárky
    Zdraví a fitness
    • Sportovní klub
    • Prodejna brýli
    • Fitness Centrum
    • Wellness praktikové
    • Lékárna
    • Kadeřnictví
    Trades
    • Údržbář
    • IT hardware a podpora
    • Solar Energy Systems
    • Výrobce obuvi
    • Úklidové služby
    • HVAC Services
    Others
    • Nonprofit Organization
    • Agentura pro životní prostředí
    • Pronájem billboardů
    • Fotografování
    • Leasing jízdních kol
    • Prodejce softwaru
    Browse all Industries
  • Komunita
    Edukační program
    • Tutoriály
    • Dokumentace
    • Certifikace
    • Vzdělávání
    • Blog
    • Podcast
    Podpora vzdělávání
    • Vzdělávací program
    • Scale Up! Hra na firmu
    • Navštivte Odoo
    Získat software
    • Stáhnout
    • Porovnejte edice
    • Verze
    Spolupráce
    • Github
    • Fórum
    • Události
    • Překlady
    • Stát se partnerem
    • Services for Partners
    • Registrujte svou účetní firmu
    Získat služby
    • Najít partnera
    • Najít účetní
    • Setkejte se s poradcem
    • Implementační služby
    • Zákaznické reference
    • Podpora
    • Upgrady
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dohodnout demo
  • Ceník
  • Pomoc

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

  • CRM
  • e-Commerce
  • Účetnictví
  • Sklad
  • PoS
  • Projekty
  • MRP
All apps
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
Pomoc

How to solving missing header & footer images in qweb?

Odebírat

Get notified when there's activity on this post

This question has been flagged
qwebodooV8
4 Odpovědi
11947 Zobrazení
Avatar
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
Avatar
Zrušit
Avatar
Anil Kesariya
Nejlepší odpověď

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
Avatar
Zrušit
Avatar
shubham shiroya
Nejlepší odpověď

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
Avatar
Zrušit
Avatar
shaneebkhan
Nejlepší odpověď

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
Avatar
Zrušit
Avatar
Mariusz Rajfura
Nejlepší odpověď

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
Avatar
Zrušit
Enjoying the discussion? Don't just read, join in!

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

Přihlásit se
Related Posts Odpovědi Zobrazení Aktivita
Set maximum displayed rows table in qweb
qweb odooV8
Avatar
Avatar
1
led 19
10453
QWebException: ('MissingError', u'One of the documents you are trying to access has been deleted, please try again after refreshing.')
qweb odooV8
Avatar
0
říj 17
4255
odoo v8 qweb report page subtotal
qweb odooV8
Avatar
0
lis 16
3491
Qweb report, center header in landscape and portrait
qweb odooV8
Avatar
0
říj 16
5710
How to costum my report?
qweb odooV8
Avatar
0
srp 16
3701
Komunita
  • Tutoriály
  • Dokumentace
  • Fórum
Open Source
  • Stáhnout
  • Github
  • Runbot
  • Překlady
Služby
  • Odoo.sh hostování
  • Podpora
  • Upgrade
  • Nestandardní vývoj
  • Edukační program
  • Najít účetní
  • Najít partnera
  • Stát se partnerem
O nás
  • Naše společnost
  • Podklady značky
  • Kontakujte nás
  • Práce
  • Události
  • Podcast
  • Blog
  • Zákazníci
  • Právní dokumenty • Soukromí
  • Zabezpečení
الْعَرَبيّة 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 je balíček open-source aplikací, které pokrývají všechny potřeby vaší společnosti: CRM, e-shop, účetnictví, sklady, kasy, projektové řízení a další.

Unikátní nabídka od Odoo poskytuje velmi jednoduché uživatelské rozhraní a vše je integrované na jednom místě.

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