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

how can i change character encoding in pdf output?

By
Bora Can
on 7/12/13, 10:14 PM 4,705 views

Hi i am newbee in openerp 7 windows allinone version. My problem is if write anything with special Turkish characters it can be shown in forms view or edits as in real encoding. but if you want to print it any invoice or any purchase order etc. Pdf output showing special Turkish characters as blackboxes. So i am suspicous about encoding settings of pdf main egine. How can i fix codec?

Host pc operating system is windows xp pro Turkish so all required fonts are in windows library.

Merhabalar Bora Bey, PDFlerdeki türkçe karakter sorununu font yükleyerek çözebilirsiniz. bunun için size DejavuSans isimli fontlardan yüklemenizi tavsiye ederiz. Burdan indirip yükleyebilirsiniz: http://www.fontsquirrel.com/fonts/DejaVu-Sans Mehmet Demirel UNIBRAVO YAZILIM

Unibravo, Mehmet Demirel
on 7/12/13, 10:47 PM

indirdim windows a kurdum ancak bir de OPENERP ye tanitmak gerekiyormus sanirim o nasil yapilacak?

Bora Can
on 7/13/13, 8:25 PM

Bora bey iyi geceler. Acaba encode sorununu çözebildiniz mi?

hhh
on 2/20/14, 5:29 PM

Bora bey iyi geceler. Acaba encode sorununu çözebildiniz mi?

Mehmet Gökhan
on 2/20/14, 5:32 PM
0
Yoshi Tashiro
On 7/13/13, 7:56 AM

This problem happens when your character is not supported by fonts used in standard OpenERP.

We use this module by shine-it for printing Japanese in PDF (you update the mapping from standard OE fonts to the fonts you would like to use):

https://github.com/shine-it/oecn_base_fonts

I believe this one by Elico Corp also does the job but we haven't tried it yet:

http://v6apps.openerp.com/addon/9154?filter=%7B%22category%22%3A+10%2C+%22order_by%22%3A+%22downloads_sum+desc%22%7D&page=0

We have raised this to OpenERP s.a. and I believe they are trying to incorporate one of these as a certified module.

Ok i installed fonts but how can setup openerp to use that fonts.

Bora Can
on 7/13/13, 8:26 PM

What exactly have you done? Please provide more info.

Yoshi Tashiro
on 7/14/13, 8:54 PM

i download the fonts from http://www.fontsquirrel.com/fonts/DejaVu-Sans then open zip file then put inside the fonts folder of windows. thats all

Bora Can
on 7/15/13, 11:02 AM

Hello Yoshi, I'm trying to have the PDF print Japanese too. I'm using OpenERP 7 on a Virtual BitNami stack Ubuntu 12.04. I have tried following the instructions on the github link you provided above, but the option "2) Click the link on the line of 'Configure fonts mapping for pdf report' (Settings/ Configuration/ General Settings/)" Is not displayed on my install, do I need to turn on a special setting such as I did to display the Technical menu?

James
on 2/21/14, 3:15 AM
0
Bora Can
On 7/13/13, 8:26 PM

Ok i installed fonts but how can setup openerp to use that fonts.

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

2 follower(s)

Stats

Asked: 7/12/13, 10:14 PM
Seen: 4705 times
Last updated: 3/16/15, 8:10 AM