Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
3838 Представления

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

Лучший ответ

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.

     

Аватар
Отменить
Related Posts Ответы Просмотры Активность
0
мар. 23
145
2
мар. 19
13281
2
июн. 25
940
0
мар. 25
2018
1
мар. 25
2122