Skip to Content
Odoo Меню
  • Увійти
  • Спробуйте це безкоштовно
  • Додатки
    Фінанси
    • Бухоблік
    • Виставлення рахунку
    • Витрати
    • Електронні таблиці (BI)
    • Документи
    • Підпис
    Продажі
    • CRM
    • Продажі
    • POS Магазин
    • POS Ресторан
    • Підписки
    • Оренда
    Веб-сайти
    • Конструктор веб-сайту
    • Електронна комерція
    • Блог
    • Форум
    • Живий чат
    • Електронне навчання
    Ланцюг поставок
    • Склад
    • Виробництво
    • PLM
    • Купівлі
    • Технічне обслуговування
    • Якість
    Кадри
    • Співробітники
    • Рекрутинг
    • Відпустки
    • Оцінювання
    • Рекомендації
    • Автотранспорт
    Маркетинг
    • Маркетинг соцмереж
    • Email-маркетинг
    • SMS-маркетинг
    • Події
    • Автом. маркетингу
    • Опитування
    Послуги
    • Проект
    • Табелі
    • Виїзне обслуговування
    • Служба підтримки
    • Планування
    • Призначення
    Продуктивність
    • Обговорення
    • Схвалення
    • IoT
    • IP-телефонія
    • База знань
    • WhatsApp
    Сторонні модулі Odoo Studio Платформа Odoo Cloud
  • Сфери
    Роздрібна торгівля
    • Книжковий магазин
    • Магазин одягу
    • Магазин меблів
    • Продуктовий магазин
    • Магазин будівельних матеріалів
    • Магазин іграшок
    Food & Hospitality
    • Бар та паб
    • Ресторан
    • Фастфуд
    • Guest House
    • Дистриб'ютор напоїв
    • Hotel
    Real Estate
    • Real Estate Agency
    • Архітектурна фірма
    • Будівництво
    • Управління нерухомістю
    • Садівництво
    • Асоціація власників нерухомості
    Consulting
    • Accounting Firm
    • Партнер Odoo
    • Marketing Agency
    • Юридична фірма
    • Придбання Талантів
    • Аудит та сертифікація
    Виробництво
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Корпоративні подарунки
    Здоров'я & Фітнес
    • Спортивний клуб
    • Оптика
    • Фітнес-центр
    • Практики здоров'я
    • Аптека
    • Салон краси
    Trades
    • Ремонтник
    • IT-обладнання та Підтримка
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Екологічна агенція
    • Оренда білбордів
    • Фотографія
    • Лізинг велосипедів
    • Реселлер програмного забезпечення
    Browse all Industries
  • Спільнота
    Навчання
    • Навчальний посібник
    • Документація
    • Сертифікації
    • Тренування
    • Блог
    • Подкаст
    Сприяйте Освіті
    • Програма навчання
    • Бізнес гра Scale Up!
    • Відвідайте Odoo
    Отримайте програмне забезпечення
    • Завантаження
    • Порівняйте версії
    • Релізи
    Співпрацюйте
    • Github
    • Форум
    • Події
    • Переклади
    • Стати партнером
    • Services for Partners
    • Зареєструйте вашу бухгалтерську фірму
    Отримайте послуги
    • Знайдіть партнера
    • Знайдіть бухгалтера
    • Зустріньтеся з консультантом
    • Послуги з впровадження
    • Референси клієнтів
    • Підтримка
    • Оновлення
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Отримати демо
  • Ціни
  • Допомога

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

  • CRM
  • e-Commerce
  • Бухоблік
  • Склад
  • PoS
  • Проект
  • MRP
All apps
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
All Posts Люди Значки
Мітки (View all)
odoo accounting v14 pos v15
Про цей форум
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
All Posts Люди Значки
Мітки (View all)
odoo accounting v14 pos v15
Про цей форум
Допомога

Header and footer of PDF document not displayed

Підписатися

Отримуйте сповіщення про активність щодо цієї публікації

Це запитання позначене
pdfdocumentheaderdisplayOdoo13
5 Відповіді
20293 Переглядів
Аватар
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
Аватар
Відмінити
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
Аватар
Niyas Raphy (Walnut Software Solutions)
Найкраща відповідь

Hi,

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

Thanks

3
Аватар
Відмінити
Benjamin Cherpas
Автор

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
Автор

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
Автор

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
Автор

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
Автор

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
Автор

Ok maybe I had the same issue. Thanks!

Аватар
Jean-Philippe Houbion
Найкраща відповідь

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
Аватар
Відмінити
Аватар
shivam soni
Найкраща відповідь

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
Аватар
Відмінити
Аватар
Jort de Vreeze
Найкраща відповідь

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
Аватар
Відмінити
Аватар
Tom Kaiser
Найкраща відповідь

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
Аватар
Відмінити
Enjoying the discussion? Don't just read, join in!

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

Реєстрація
Related Posts Відповіді Переглядів Дія
how to preview Doc, pdf in odoo15?
pdf document
Аватар
0
лист. 22
4810
Whatsapp Integration
pdf document WhatsApp
Аватар
Аватар
Аватар
2
вер. 25
6014
How to display in Odoo 9 a pdf already stored in ir.attachment DB model?
pdf display ir.attachment
Аватар
2
груд. 15
8058
import .pdf as Header & Footer
pdf header footer
Аватар
Аватар
1
черв. 15
5288
Everybody can see my invoices
pdf document report
Аватар
0
бер. 15
4212
Спільнота
  • Навчальний посібник
  • Документація
  • Форум
Open Source
  • Завантаження
  • Github
  • Runbot
  • Переклади
Послуги
  • Хостинг Odoo.sh
  • Підтримка
  • Оновлення
  • Кастомні доробки
  • Навчання
  • Знайдіть бухгалтера
  • Знайдіть партнера
  • Стати партнером
Про нас
  • Наша компанія
  • Торгові активи
  • Зв'яжіться з нами
  • Вакансії
  • Події
  • Подкаст
  • Блог
  • Клієнти
  • Юридичні документи • Конфіденційність
  • Безпека
الْعَرَبيّة 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 - це набір програм для роботи з відкритим кодом, які охоплюють всі ваші потреби компанії: CRM, електронна комерція, бухгалтерський облік, склад, точка продажу, управління проектами тощо.

Унікальна пропозиція Odoo - це одночасно дуже проста у використанні та повністю інтегрована.

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