Odoo Help

0

How to add a page break into a invoice document?

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

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 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: 733 times
Last updated: 8/27/15, 2:21 AM