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

Qweb Header and Footer Doesn't appear on fiew pages if we have more description on line and more than 5 pages report.

Subscribe

Get notified when there's activity on this post

This question has been flagged
qwebheaderreportfooter.odoo
1 Reply
10697 Views
Avatar
Anil Kesariya

Hello All,

I am facing unbelivable issue, I don't know who has tried this or not.

I have successfully installed wkhtmltopdf library and report does works well if I have single or 2,3 line description on lines than it works well till number of pages.

When I have more description like 5,6 line or more than that on report and having many lines on invoices,sales, purchase etc in all the reports, is having more than 6 pages. than it starts creating problems on header and footers part

Header and footer doesn't appears in between few pages, format of data is well its not overlap on any pages, because I have extended the top margin and header spacing by using paper format.

The unacceptable part is that report doesn't show header and footer in between few pages.

What is can be solution of this? Is this limitation of Qweb?

Does anyone satisfied with QWeb for this test case?

Your help on this will be really appreciated.

Thanks & Regards,

Anil.











2
Avatar
Discard
Avatar
Mariusz Rajfura
Best Answer

Hey Anil,

I have got similar error. In my solution I downgraded wkhtmltopdf from 0.12.2.1 (with patched qt) to 0.12.1 (with patched qt). Layout are better and my custom report has shortened from 28 to 25 pages.

See my answer for similar issue

https://www.odoo.com/forum/help-1/question/how-to-solving-missing-header-footer-images-in-qweb-82475#answer-82529

My platform is (debian8, i386). Maybe on (debian7, amd64) it may be needed different version ;-)


1
Avatar
Discard
Anil Kesariya
Author

Thanks a million Mariusz, I will try this solutions :)

Anil Kesariya
Author

@Mariusz, I have checked in my system, its the same revision installed currently in my system which you mention (0.12.1 (with patched qt)). If I have normal description on line like2,3 line description than it works well till number of pages reports, but I have more description on product detail it start causing problem, my is very worst case, product may have description of 1 page.and that description needs to be printed on report.

Mariusz Rajfura

After many tries for better understanding of usage of wkhtmltopdf I suppose that you should decrease font size for body. In my opinion exceeding the dimensions of body has more importance than header. In process of generation qweb reports odoo has many defined parameters for rendering pages. In my tests when step by step I increased font size, at some the moment I had ugly pages: without header or footer. It looked as pages have lost header or footers. BTW wkhtml in newest version 0.12.2.1 (qt patched) still is not good...

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
Related Posts Replies Views Activity
Put the name of a select field in a qweb report
qweb report odoo
Avatar
Avatar
Avatar
Avatar
3
Dec 24
6714
How to remove header from qweb report in odoo 10? Solved
header report odoo
Avatar
Avatar
Avatar
2
Jul 23
13203
Expect singleton: res.currency[SOLVED] Solved
qweb report odoo
Avatar
Avatar
Avatar
2
Jun 23
5938
Header and Footer starting 2nd page
header report footer.
Avatar
Avatar
1
Dec 22
2915
Pass result from SQL Query to Qweb Report
qweb report odoo
Avatar
0
Mar 22
3277
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