Odoo Help

Welcome!

This community 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.

0

Quotation terms and conditions font size in pdf

By
Mike Greenish
on 6/23/16, 5:59 PM 335 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.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

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