Ir al contenido
Odoo Menú
  • Identificarse
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • TPV para tiendas
    • TPV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en directo
    • eLearning
    Cadena de suministro
    • Inventario
    • Fabricación
    • PLM
    • Compra
    • Mantenimiento
    • Calidad
    Recursos Humanos
    • Empleados
    • Reclutamiento
    • Ausencias
    • Evaluación
    • Referencias
    • Flota
    Marketing
    • Marketing social
    • Marketing por correo electrónico
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyecto
    • Partes de horas
    • Servicio de campo
    • Servicio de asistencia
    • Planificación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Información
    • WhatsApp
    Aplicaciones de terceros Studio de Odoo Plataforma de Odoo Cloud
  • Industrias
    Comercio al por menor
    • Librería
    • Tienda de ropa
    • Tienda de muebles
    • Tienda de ultramarinos
    • Ferretería
    • Juguetería
    Alimentación y hostelería
    • Bar y taberna
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidor de bebidas
    • Hotel
    Inmueble
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión inmobiliaria
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Empresa contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Fabricación
    • Textil
    • Metal
    • Muebles
    • Alimentos
    • Brewery
    • Regalos de empresas
    Salud y bienestar
    • Club deportivo
    • Óptica
    • Gimnasio
    • Terapeutas
    • Farmacia
    • Peluquería
    Oficios
    • Handyman
    • Hardware y asistencia informática
    • Sistemas de energía solar
    • Zapatero
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin ánimo de lucro
    • Agencia de protección del medio ambiente
    • Alquiler de paneles publicitarios
    • Estudio fotográfico
    • Alquiler de bicicletas
    • Distribuidor de software
    Browse all Industries
  • Comunidad
    Aprender
    • Tutoriales
    • Documentación
    • Certificaciones
    • Formación
    • Blog
    • Podcast
    Potenciar la educación
    • Programa de formación
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtener el software
    • Descargar
    • Comparar ediciones
    • Versiones
    Colaborar
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Convertirse en partner
    • Services for Partners
    • Registrar tu empresa contable
    Obtener servicios
    • Encontrar un partner
    • Encontrar un asesor fiscal
    • Contacta con un experto
    • Servicios de implementación
    • Referencias de clientes
    • Ayuda
    • Actualizaciones
    GitHub YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicitar una demostración
  • Precios
  • Ayuda

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

  • CRM
  • e-Commerce
  • Contabilidad
  • Inventario
  • PoS
  • Proyecto
  • MRP
All apps
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Ayuda

Header and footer of PDF document not displayed

Suscribirse

Reciba una notificación cuando haya actividad en esta publicación

Se marcó esta pregunta
pdfdocumentheaderdisplayOdoo13
5 Respuestas
20342 Vistas
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
Descartar
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)
Mejor respuesta

Hi,

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

Thanks

3
Avatar
Descartar
Benjamin Cherpas
Autor

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
Autor

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
Autor

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
Autor

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
Autor

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
Autor

Ok maybe I had the same issue. Thanks!

Avatar
Jean-Philippe Houbion
Mejor respuesta

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
Descartar
Avatar
shivam soni
Mejor respuesta

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
Descartar
Avatar
Jort de Vreeze
Mejor respuesta

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
Descartar
Avatar
Tom Kaiser
Mejor respuesta

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
Descartar
¿Le interesa esta conversación? ¡Participe en ella!

Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.

Inscribirse
Publicaciones relacionadas Respuestas Vistas Actividad
how to preview Doc, pdf in odoo15?
pdf document
Avatar
0
nov 22
4847
Whatsapp Integration
pdf document WhatsApp
Avatar
Avatar
Avatar
2
sept 25
6056
How to display in Odoo 9 a pdf already stored in ir.attachment DB model?
pdf display ir.attachment
Avatar
2
dic 15
8084
import .pdf as Header & Footer
pdf header footer
Avatar
Avatar
1
jun 15
5343
Everybody can see my invoices
pdf document report
Avatar
0
mar 15
4256
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento Odoo.sh
  • Ayuda
  • Actualizar
  • Desarrollos personalizados
  • Educación
  • Encontrar un asesor fiscal
  • Encontrar un partner
  • Convertirse en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contacta con nosotros
  • Puestos de trabajo
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Información legal • Privacidad
  • Seguridad
الْعَرَبيّة 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 es un conjunto de aplicaciones de código abierto que cubren todas las necesidades de tu empresa: CRM, comercio electrónico, contabilidad, inventario, punto de venta, gestión de proyectos, etc.

La propuesta única de valor de Odoo es ser muy fácil de usar y totalmente integrado.

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