projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c44b4b9
)
[FIX] reporting: avoid unicode errors
author
Christophe Simonis
<chs@openerp.com>
Mon, 15 Nov 2010 13:41:58 +0000
(14:41 +0100)
committer
Christophe Simonis
<chs@openerp.com>
Mon, 15 Nov 2010 13:41:58 +0000
(14:41 +0100)
bzr revid: chs@openerp.com-
20101115134158
-ppmtmh6xxufs2iyj
bin/report/report_sxw.py
patch
|
blob
|
history
diff --git
a/bin/report/report_sxw.py
b/bin/report/report_sxw.py
index
8ad8451
..
747cfcc
100644
(file)
--- a/
bin/report/report_sxw.py
+++ b/
bin/report/report_sxw.py
@@
-278,7
+278,8
@@
class rml_parse(object):
ret_lst.append({name:id})
return ret_lst
- def _translate(self,text):
+ def _translate(self, text):
+ text = tools.ustr(text)
lang = self.localcontext['lang']
if lang and text and not text.isspace():
transl_obj = self.pool.get('ir.translation')