Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
5 Trả lời
9165 Lượt xem

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? 

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

You can do that by:

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

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

</p> 


Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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)



Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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 

?


Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ

thank you !!

Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ

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

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 5 21
2969
2
thg 2 24
3628
1
thg 10 23
6007
2
thg 5 25
6455
1
thg 3 23
3129