コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
10112 ビュー

 I have create a custom module and I want to change the font of some reports .

What are the files that I should be amended ..??

I use Odoo 10

アバター
破棄
最善の回答
Here is example of how you use custom font in your QWEB Reports.
<template id="report_product_image"> 
<t t-call="report.html_container">
<t t-foreach="docs" t-as="o">
<div class="page">
<style type="text/css">
         <![CDATA[/* United */
         @font-face { font-family: ';Comic Sans';
          font-style: heavy;
          font-weight: 300;
          src: local('United'), url(/home/emipro/Desktop/Tejas/comic-sans.otf) format('opentype');
        } 
        ]]>
        </style>
アバター
破棄
最善の回答

style="font-family: yourfont;"

アバター
破棄
関連投稿 返信 ビュー 活動
7
4月 18
9687
4
10月 20
8722
3
2月 24
10205
1
11月 23
2675
1
6月 23
3453