Odoo Help

0

Quotation terms and conditions font size in pdf

By
Mike Greenish
on 6/23/16, 5:59 PM 467 views

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.

1
Krupesh Laiya
On 6/24/16, 3:08 AM

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/

0
Mike Greenish
On 6/24/16, 6:36 PM

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.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 6/23/16, 5:59 PM
Seen: 467 times
Last updated: 6/24/16, 6:36 PM