跳至内容
菜单
此问题已终结
2 回复
4812 查看

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.

形象
丢弃
最佳答案

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/

形象
丢弃
编写者 最佳答案

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.

形象
丢弃