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
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
3
Trả lời
28268
Lượt xem
try this inside <div class="page"> .
<p style="page-break-after:always;"> </p>
<p> Test New Page </p>
Exactly what I needed, thank you!
Thanks Sajin.
thank you @Sajin. still works :)
Thanks for this great share.
https://stackoverflow.com/questions/32756876/odoo-how-to-include-a-page-break-second-page-in-custom-report-pdf
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng ký