Odoo Help

0

How to add a page break into a invoice document?

By
Ralf Hilgenstock
on 2/2/15, 4:05 AM 895 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?

 

0

Zbik

--Zbik--
6313
| 6 4 7
Lodz, Poland
--Zbik--


Zbik
On 2/2/15, 4:55 AM

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>
                    ]]>

 

0
Ralf Hilgenstock
On 2/2/15, 5:36 AM

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.

answer updated

Zbik
on 2/2/15, 5:56 AM

It works?

Zbik
on 2/6/15, 1:26 PM

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

Ralf Hilgenstock
on 2/6/15, 1:31 PM

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

Question tools

1 follower(s)

Stats

Asked: 2/2/15, 4:05 AM
Seen: 895 times
Last updated: 8/27/15, 2:21 AM