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

Custom fonts fore reports. Odoo 9

By
Jayanthi
on 11/16/16, 4:29 AM 72 views

I am not able to install few fonts in the report in Windows server. I have tested same reports in an Ubuntu 14.04 and wkhtlmltopdf is able to retain the NimbusSansL font, but in windows server the font changes to Times new roman or Arial. Can any one help me on how to install a font for reports.


Any assistance for above questionI would be grateful. Thanks in advance.

Raisul Islam,thanks for the reply. I am new to Odoo, still learning. If you can give me a detailed explanation/ guidelines it will be of immense help.

Thanks again

Jayanthi
on 11/17/16, 3:38 AM
0
Raisul Islam
On 11/16/16, 8:26 AM

you can add fonts as a static resource with the app and make reference of that with the xpath by inheriting the "reports.assets_common".

<template id="my_report" inherit_id="report.assets_common">
     <xpath expr="." position="after">

         link fonts here...

     </xpath>

</template>


Hope this will help you. Thanks.

     

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: 11/16/16, 4:29 AM
Seen: 72 times
Last updated: 11/16/16, 8:26 AM