İçereği Atla
Menü
Bu soru işaretlendi
2 Cevaplar
2658 Görünümler

I have a pdf report in odoo14
the number of lines in this report is dynamic
i need to put this line "10-This contract has been defined in two identical copies ,signed by the two"  at the start of the last page
how can i do that?

Avatar
Vazgeç
En İyi Yanıt

Hello

You can use the CSS page-break-after property to force a new page in your Odoo QWeb report.

To use it, simply add a or div 

element with the page-break-after property set to always, like this:



In this example, the div element will always be followed by a new page when the report is printed or exported. You can also use this technique to control page breaks between different sections of your report.

Thanks & Regards,



CandidRoot Solutions Pvt. Ltd.

Mobile: (+91) 8849036209
Email: info@candidroot.com
Skype: live:candidroot
Web: https://www.candidroot.com
Address: 1229-1230, Iconic Shyamal, Near Shyamal Cross Road, Ahmedabad, Gujarat

Avatar
Vazgeç
Üretici

Thanks very much, this help me thanks

En İyi Yanıt

Hi, 

You can add your custom text at the header and footer of page, that way it will be displayed on all pages. 

https://www.cybrosys.com/blog/how-to-customize-header-footer-for-all-reports-in-odoo-15

You can refer the above blog post to understand how to modify header and footer of a report.

Regards

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Tem 21
2075
0
Kas 22
2932
1
Tem 22
2795
1
Tem 22
2566
0
Eyl 21
2460