Odoo Help

Welcome!

This community 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.

1

How to add new page to QWeb report?

By
Yenthe
on 11/20/14, 4:11 AM 4,010 views

Hi everybody

I'd like to know how you can add a new page to a QWeb view. I want to customize the quotation template (sale.order) QWeb.
The first page is fine, with showing the default data but I would now like to somehow create a second page in the QWeb that shows some custom text that I code in it in HTML.

How can I force the QWeb to create a second page and print my text on this?
The custom text should always be on the next page.

With kind regards
Yenthe
 

4
Sajin Aziz
On 11/22/14, 12:17 AM

try this inside <div class="page"> .

<p style="page-break-after:always;">   </p>
   <p> Test New Page  </p>

Exactly what I needed, thank you!

Yenthe
on 11/22/14, 7:02 AM

Your Answer

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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)

Stats

Asked: 11/20/14, 4:11 AM
Seen: 4010 times
Last updated: 4/21/15, 10:46 AM