This question has been flagged
2 Replies
3135 Views

We've customized the invoice form and need  a page break to add a seperate page after the invoice. How can we add this into the document template?

 

Avatar
Discard
Best Answer

You install module sale_layout. With this module you can personnalize the sale order and invoice report with separators, page-breaks or subtotals. In this module you find example how add page-break to template:

                    <![CDATA[
                    <p style="page-break-before:always;"> </p>
                    ]]>

 

Avatar
Discard
Author Best Answer

Hi zbik
thanks for your response. I think there must be a general option in HTML that works with Odoo. We tested with typical pagebreak definition but this was not successful

Ralf

 

Thanks. We will give it a try.

Avatar
Discard

answer updated

It works?

Author

Hi Zbik,
thanks for your code. My colleague implemented it today and it works perfect.
Ralf