c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #28992
[Bug 799818] Re: Group by field with Chinese Characters Font error
Hello,
I have again checked your issue as per your specification.
This is not a generalize issue, If you forcefully copied the chines
character text 销售员 as the name of demo user it will always show the
销售员.
So again this is not a bug. OpenERP will not translate automatically
when your user language is English.
But you can propose your opinion on feedback.openerp.com, our experts
will review your opinion.
Currently I am closing this issue.
Correct me if I am misunderstand you.
Thanks.
** Changed in: openobject-client
Status: Incomplete => Invalid
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/799818
Title:
Group by field with Chinese Characters Font error
Status in OpenERP GTK Client:
Invalid
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\view\tree_gtk\parser.py
line 299 to line 302
font = pango.FontDescription('Times New Roman bold 10')
if self.field_name in model.field_with_empty_labels:
cell.set_property('foreground', '#AAAAAA')
font = pango.FontDescription('italic 10')
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 manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-client/+bug/799818/+subscriptions
References