Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
2 Vastaukset
4822 Näkymät

I have modified the font size of the T's & C's as attached to the bottom of the quotation in the web view through the style sheet  (added font-size: 6pt; to the appropriate style) but that change doesn't seem to get carried over to the pdf.  Can anyone tell me what else I have to get to get a smaller font size for the T's & C's on the pdf report?  Is there another style sheet for the html generated that is fed into wkhtmltopdf when a pdf of a quotation is generated?

My goal is to have the T's & C's fit onto one page.

Avatar
Hylkää
Paras vastaus

okay please inherit the report of sale order or you can also override it by your view.

in overrided report you can modify the layout of the report.

From below link you can get help how to override the report:

http://www.odoo.yenthevg.com/inheriting-and-modifying-qweb-reports/

Avatar
Hylkää
Tekijä Paras vastaus

Thanks for the reference.  Using that I was able to find the report and edit it by putting a <div style="font-size:10px"> wrapper around the block of text I wanted reduced in size.

Avatar
Hylkää