跳至內容
選單
此問題已被標幟
4795 瀏覽次數

I want to:

#1 - Add a barcodefont.ttf to openerp #2 - Have invoice number automatically printed using the barcode font on specific report

I have already added the barcode fonts to

cd /usr/share/fonts/truetype

CustomTTFonts = [ ('barcodefont',"barcodefont", "barcodefont.ttf", 'normal')

I changed the font to barcodefont in the report designer and it uses para4 in RML and not using the right font.

I then manually edited the RML report with the following:

<parastyle name="barcode_9" fontname="barcodefont" fontsize="9.0" leading="10" alignment="LEFT" spacebefore="0.0" spaceafter="0.0"/>

Still the font is not showing. Please help

頭像
捨棄

Hi, I am also looking for some functionality like this, Can someone show us a way if you found any. Thanks in Advance.

相關帖文 回覆 瀏覽次數 活動
0
8月 17
2646
5
1月 24
14366
1
3月 15
5019
2
11月 24
7724
1
3月 15
10607