Se rendre au contenu
Odoo Menu
  • Se connecter
  • Essai gratuit
  • Applications
    Finance
    • Comptabilité
    • Facturation
    • Notes de frais
    • Feuilles de calcul (BI)
    • Documents
    • Signature
    Ventes
    • CRM
    • Ventes
    • PdV Boutique
    • PdV Restaurant
    • Abonnements
    • Location
    Sites web
    • Site Web
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Chaîne d'approvisionnement
    • Inventaire
    • Fabrication
    • PLM
    • Achats
    • Maintenance
    • Qualité
    Ressources Humaines
    • Employés
    • Recrutement
    • Congés
    • Évaluations
    • Recommandations
    • Parc automobile
    Marketing
    • Marketing Social
    • E-mail Marketing
    • SMS Marketing
    • Événements
    • Marketing Automation
    • Sondages
    Services
    • Projet
    • Feuilles de temps
    • Services sur Site
    • Assistance
    • Planification
    • Rendez-vous
    Productivité
    • Discussion
    • Validations
    • Internet des Objets
    • VoIP
    • Connaissances
    • WhatsApp
    Applications tierces Odoo Studio Plateforme Cloud d'Odoo
  • Industries
    Commerce de détail
    • Librairie
    • Magasin de vêtements
    • Magasin de meubles
    • Épicerie
    • Quincaillerie
    • Magasin de jouets
    Food & Hospitality
    • Bar et Pub
    • Restaurant
    • Fast-food
    • Maison d’hôtes
    • Distributeur de boissons
    • Hôtel
    Immobilier
    • Agence immobilière
    • Cabinet d'architecture
    • Construction
    • Gestion immobilière
    • Jardinage
    • Association de copropriétaires
    Consultance
    • Cabinet d'expertise comptable
    • Partenaire Odoo
    • Agence Marketing
    • Cabinet d'avocats
    • Aquisition de talents
    • Audit & Certification
    Fabrication
    • Textile
    • Métal
    • Meubles
    • Alimentation
    • Brewery
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Trades
    • Bricoleur
    • Matériel informatique et support
    • Systèmes photovoltaïques
    • Cordonnier
    • Services de nettoyage
    • Services CVC
    Autres
    • Organisation à but non lucratif
    • Agence environnementale
    • Location de panneaux d'affichage
    • Photographie
    • Leasing de vélos
    • Revendeur de logiciel
    Browse all Industries
  • Communauté
    Apprenez
    • Tutoriels
    • Documentation
    • Certifications
    • Formation
    • Blog
    • Podcast
    Renforcer l'éducation
    • Programme éducatif
    • Business Game Scale-Up!
    • Rendez-nous visite
    Obtenir le logiciel
    • Téléchargement
    • Comparez les éditions
    • Versions
    Collaborer
    • Github
    • Forum
    • Événements
    • Traductions
    • Devenez partenaire
    • Services for Partners
    • Enregistrer votre cabinet comptable
    Nos Services
    • Trouver un partenaire
    • Trouver un comptable
    • Rencontrer un conseiller
    • Services de mise en œuvre
    • Références clients
    • Assistance
    • Mises à niveau
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obtenir une démonstration
  • Tarification
  • Aide

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

  • CRM
  • e-Commerce
  • Comptabilité
  • Inventaire
  • PoS
  • Projet
  • MRP
All apps
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Aide

Header and footer of PDF document not displayed

S'inscrire

Recevez une notification lorsqu'il y a de l'activité sur ce poste

Cette question a été signalée
pdfdocumentheaderdisplayOdoo13
5 Réponses
20336 Vues
Avatar
Benjamin Cherpas

Hi,

That's weird. When I want to print a PDF document, it will not display the header and the footer, no matter what type of document (invoice, etc.)it is. I can see them only when I do preview in Invoice module but when I click "Print", it doesn't display the header and footer anymore. I have no custom modules, my VM is just created, I'm on Odoo13 but it didn't work on Odoo12 too, it works on Odoo from odoo.com but not on local Odoo, I try to add some text in header or footer from editing settings but it is not displayed. I tried everything I could. Please help me.


Thanks a lot.


PS: I can't upload images so sorry, Odoo forum be like...

1
Avatar
Ignorer
OdooBot

Sehr geehrte Damen und Herren,

ich bin nicht mehr bei der Datenpol tätig. Da diese E-Mail nicht weitergeleitet wird, bitte ich Sie auch eine meiner Kolleginnen bzw. einen meiner Kollegen zuzugehen oder wenden Sie sich bitte an support@datenpol.at

Danke & LG,
Aly
Avatar
Niyas Raphy (Walnut Software Solutions)
Meilleure réponse

Hi,

Make sure that the Wkhtmltopdf is correctly installed in the system.

Thanks

3
Avatar
Ignorer
Benjamin Cherpas
Auteur

Yes it is and I uninstalled it then reinstalled but that seems to be the same issue. I have the body of document (order line, prices, total, etc.) but not the header and footer.

Haresh Kansara

Make sure correct version installed. Try to install stable wkhtmltopdf version.

Benjamin Cherpas
Auteur

I was in Wkhtmltopdf 0.12.4 and I just upgrade it to 0.12.5 which is the recommanded version of it, according to official Odoo 13 install. That's weird because the logo in the header appears and company informations too BUT not the footer. And I went to settings and go back and company informations disappears. I'm lost..... Thanks for your help !

Benjamin Cherpas
Auteur

That's ok you solved my problem! Thanks for all!

Ahmed Aly

So how did you resolve this issue. I have the same problem with the footer and some content in the header is randomly disappearing and appearing.

Benjamin Cherpas
Auteur

Hi, you can download wkhtmltopdf 0.12.5 on this website: https://wkhtmltopdf.org/downloads.html. Choose your Ubuntu version (for me that was Ubuntu 16.04 (xenial)). Uninstall previous version and install the new. For example, on my version of Ubuntu I did just sudo gdebi name_of_module and it works. Hope this help.

Ahmed Aly

I am already running wkhtmltopdf 0.12.5 with ubuntu 18.04 for Odoo13.

I think i have a different problem

Benjamin Cherpas
Auteur

Oh no I had the same issue with Odoo 13 and I didn't fix it I think that's because of ubuntu 18.04. So I downgrade to Ubuntu 16.04 and Odoo12 (I think Odoo13 is instable to). You know ?

Ahmed Aly

I found the issue. Apparently i was using an incompatible database, which i created before there was an official odoo 13.0 branch.

You see it, when you go to the database manager and there is a yellow warning sign and there is also a message in the logs.

I solved the issue by creating a new database, which isn't a problem since i am still developing.

Sorry for the inconvenience and thanks for the help ;)

Benjamin Cherpas
Auteur

Ok maybe I had the same issue. Thanks!

Avatar
Jean-Philippe Houbion
Meilleure réponse

Hi all,

I've got the same problem with my Odoo 17 on my Ubuntu server 23.04 but with a small difference I think...
After editing the quotation template for instance juste by adding header (or footer), I save the changes, I ask to see how it goes, it displays the webpage and on the left hand side, there is a button to show details.

When I click on this button, a PDF file is displayed and the header (or the footer) are also displayed in the file, but on a different page.

I hope this will help developper to find/solve the problem... it's pretty annoying !

Regards

1
Avatar
Ignorer
Avatar
shivam soni
Meilleure réponse

Hi Tom Kaiser,

Did you find any solution for odoo v17 enterprise edition PDF report Header Footer not getting printed?
i have odoo hosted on Premise

Ubuntu version :: 22.0

Odoo running on Docker 

Wkhtmltopdf --version : : 0.12.6


I have also set the web.base.url and web.base.freeze.url

also report url is set to the :: https://ipaddress:8069


Can someone help me with this?

0
Avatar
Ignorer
Avatar
Jort de Vreeze
Meilleure réponse

I had similar issues in the past where everything (i.e., wkhtmltopdf) was installed correctly. I was able to solve it by deactivating developer mode activated with assets. If you have developer mode activated with assets, you should try deactivating this, because it affects the rendering process. See: https://www.odoo.com/forum/help-1/report-pdf-print-missing-footer-216688

I hope this helps!


0
Avatar
Ignorer
Avatar
Tom Kaiser
Meilleure réponse

I can't get headers & footers to display running Odoo v17.
All headers are forwarded.


wkhtmltopdf --version

wkhtmltopdf 0.12.5 (with patched qt)


tried v 0.12.6 first which didn't work then downgraded to the above which apparently should work but still does not!


Any ideas as this is a real pain. Does this happen still in the enterprise version? It's things like this that are stopping pushing the button on enterprise. I need self hosted so it's going to be a big upfront cost and if basic things like this don't work then it'll be a waste of money and time.


Can anyone help? Server is running Ubuntu 22.04, Odoo v17 from source. 


0
Avatar
Ignorer
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !

Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !

S'inscrire
Publications associées Réponses Vues Activité
how to preview Doc, pdf in odoo15?
pdf document
Avatar
0
nov. 22
4840
Whatsapp Integration
pdf document WhatsApp
Avatar
Avatar
Avatar
2
sept. 25
6054
How to display in Odoo 9 a pdf already stored in ir.attachment DB model?
pdf display ir.attachment
Avatar
2
déc. 15
8082
import .pdf as Header & Footer
pdf header footer
Avatar
Avatar
1
juin 15
5337
Everybody can see my invoices
pdf document report
Avatar
0
mars 15
4255
Communauté
  • Tutoriels
  • Documentation
  • Forum
Open Source
  • Téléchargement
  • Github
  • Runbot
  • Traductions
Services
  • Hébergement Odoo.sh
  • Assistance
  • Migration
  • Développements personnalisés
  • Éducation
  • Trouver un comptable
  • Trouver un partenaire
  • Devenez partenaire
À propos
  • Notre société
  • Actifs de la marque
  • Contactez-nous
  • Emplois
  • Événements
  • Podcast
  • Blog
  • Clients
  • Informations légales • Confidentialité
  • Sécurité.
الْعَرَبيّة 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 est une suite d'applications open source couvrant tous les besoins de votre entreprise : CRM, eCommerce, Comptabilité, Inventaire, Point de Vente, Gestion de Projet, etc.

Le positionnement unique d'Odoo est d'être à la fois très facile à utiliser et totalement intégré.

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