This question has been flagged

You sometimes want to have part of the information on the next page and not just right under the previous information on your pdf. Is it possible to do that with Studio? 

Avatar
Discard
Author Best Answer

You can do that by:

Adding a char field and replace it with the following code: 

<p style="page-break-after:always;">

</p> 


Avatar
Discard
Best Answer

Step 1: Create the nex text field & then click on "XML" (Need to be in "developer mode")

Step 2/Select the "Studio view"


3/ Replace the FULL LINE (New text block) (line 5 here) by the following (at the same space level (so, a bit further than the above "div class....."): 

Replace it with the code mentioned by Chloé (first answer of this forum entry)



Avatar
Discard
Best Answer

Hi, 

thanks chloe for the tips.

I am trying to do it on odoo studion v15 and it does not seem to work.

Do you mean you select a "text" and then replace in the XML file by 

?


Avatar
Discard
Best Answer

Hi !

i am trying to do the same to add in the last page of a quotation the sales conditions thing but i can't figure out to force breaking the page

Avatar
Discard

thank you !!

Best Answer

Did you find out how to do it? Having the same question here.

Avatar
Discard

Check the above input, let me know if you can solve it :-)