Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

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

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

wkhtmltopdf - odoo 17 - no logo or footer

Subscribe

Get notified when there's activity on this post

This question has been flagged
7 Replies
23047 Views
Avatar
HK

Hi all,

I installed Odoo 17 on debian 12 with wkhtmltopdf 0.12.6 . So if Odoo generates a pdf-invoice, no logo or footer is added. Is this a buf of Odoo or a does there exist a solution for this problem? 


thanks in advance for your help.

with best regards

HK

0
Avatar
Discard
Avatar
Manish Bohra
Best Answer

Hi  HK​,

Try adding this record in Settings --> Technical --> Parameters  --> System Parameters

key: report.url

value: your_ip:port

Ref : https://www.youtube.com/watch?v=lC9p_QJUW1Q

or 

Try to downgraded the version Install wkhtmltopdf version 0.12.5

or

After this one, you need to configure your document layout. 

Go to setting --> Search Document Layout




Thanks

3
Avatar
Discard
Mohammed Umair

Yes! this helped me and the issue of header and footer is solved now

Avatar
Harshad Padaya
Best Answer

I have faced the same issue while installing Odoo17 and here is how I fixed it.
​

  1. Find the installed version of Wkhtmltopdf 
    apt show wkhtmltopdf
  2. Remove if it is 0.12.6 or greater
    apt remove wkhtmltopdf
  3. Find the best suitable package version which is 0.12.6.1-3 based on your server from the below mentioned url
    https://github.com/wkhtmltopdf/packaging/releases/tag/0.12.6.1-3
  4. In my case for Ubuntu22.04 and amd64 architecture, I copied this download link
    https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6.1-3/wkhtmltox_0.12.6.1-3.jammy_amd64.deb
  5. Download the package
    wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6.1-3/wkhtmltox_0.12.6.1-3.jammy_amd64.deb
  6. Install the package
    dpkg -i wkhtmltox_0.12.6.1-3.jammy_amd64.deb
  7. In case of any dependency issue, run the below command to fix it
    apt install -f
  8. Symlink the binaries to the Odoo readable folders
    sudo ln -s /usr/local/bin/wkhtmltopdf /usr/bin
    sudo ln -s /usr/local/bin/wkhtmltoimage /usr/bin


This did setup Wkhtmltopdf correctly on my server and resolved the Headers/Footers issue.


5
Avatar
Discard
Avatar
Maduka Sopulu
Best Answer

This is simply the solution , from maduka Sopulu : https://medium.com/@chris-maduka/wkhtmltopdf-error-6-while-printing-odoo-v17-on-ubuntu-22-0-04760b48353b

0
Avatar
Discard
Avatar
Oscar Gonzalez
Best Answer

@Harshad Padaya thank you your solution works great even with ubuntu 24.04 running odoo 17.... i had wkhtmltopdf v0.12.6.1-2 the jammy version works well ith 24.04. and you have the latest version installation. maybe odoo will create their own pdf engine in next verison.

0
Avatar
Discard
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Best Answer

Hi,

Please verify that all the URLs in the system parameter is same as your URL Settings -> Technical -> parameters -> system parameters

On searching URL you can see the below options. verify the URLs are same as your URL

If it is okay, Then Please uninstall your current wkhtmltopdf package and install it again. You can use the below code

sudo wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.bionic_amd64.deb


sudo dpkg -i wkhtmltox_0.12.5-1.bionic_amd64.deb

sudo apt install -f


Hope it helps

0
Avatar
Discard
Avatar
Niyas Raphy (Walnut Software Solutions)
Best Answer

Hi,
Install wkhtmltopdf version 0.12.5 and see if it makes any difference.

Refer to this existing post:  https://www.odoo.com/forum/help-1/wkhtmltopdf-how-do-i-install-0-12-5-1-the-one-odoo-needs-on-ubuntu-20-04-177412

Thanks

0
Avatar
Discard
Avatar
HK
Author Best Answer


Hi all,

what to post the solution, but I am not allowed because I do not have enough Karma points.

How can I post the solution?


thanks in advance

HK


0
Avatar
Discard
Manish Bohra

Okay,

I've updated the answer please review that one.

Enjoying the discussion? Don't just read, join in!

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

Sign up
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة 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 is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

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