Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I want to set a background image to the Quotation/Sales Order PDF report and I used:
<div class="page" style="background-image: url('/sale/static/img/backgroundpage.png'); background-size: 230mm 300mm;">
It works for all the pages, except for the last one. The background image doesn't fill the last page of the PDF report if the content of that page is shorter. It gets cut off at the height where the content ends. The rest of the page doesn't have a background. I've tried setting the height of the <div class="page"> to 100% but it doesn't change anything. Any thoughts?
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 11/10/16, 10:00 AM|
|Seen: 203 times|
|Last updated: 12/21/16, 4:05 AM|