Group by field with Chinese Characters Font error
Bug #799818 reported by
开阖软件 Jeff Wang
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo GTK Client (MOVED TO GITHUB) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
When we are on tree view, want to group by a field with chinese content. the group shown as blank 口口口口 on GTK client, web client works OK.
we found the reason is in source code of
\bin\widget\
line 299 to line 302
font = pango.FontDescr
if self.field_name in model.field_
Because here English font only support English text, Chinese text with double byte can not shown
We solved this issue after remove these lines then let pango select right Font from local machine
To post a comment you must log in.
Hello Jeff Wang,
I have checked your issue with latest updated code with stable-6 and trunk both but I did't find any
problem related to content.
Would you please elaborate more on this issue. On which form you did face the problem so we can reproduce
same as our end.
Thanks and waiting for your reply.