summaryrefslogtreecommitdiff
path: root/bin/report/interface.py
diff options
context:
space:
mode:
authorChristophe Simonis <christophe@taupe>2008-12-26 14:29:45 +0100
committerChristophe Simonis <christophe@taupe>2008-12-26 14:29:45 +0100
commitbfecad04b59ee60afe9127a838e5dda7cc6d8eb0 (patch)
treee0cf71c45fcb1acd06eecc94877b02a8d9790fd3 /bin/report/interface.py
parent1be0861d4a7f0a4f93059a432142cd56fe0daebf (diff)
[FIX] encoding problems
lp bug: https://launchpad.net/bugs/311159 fixed bzr revid: christophe@taupe-20081226132945-z366jn2es0mms9ul
Diffstat (limited to 'bin/report/interface.py')
-rw-r--r--bin/report/interface.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/report/interface.py b/bin/report/interface.py
index da94535498e..99b5860c3e0 100644
--- a/bin/report/interface.py
+++ b/bin/report/interface.py
@@ -86,6 +86,7 @@ class report_rml(report_int):
def create(self, cr, uid, ids, datas, context):
xml = self.create_xml(cr, uid, ids, datas, context)
+ xml = tools.ustr(xml).encode('utf8')
if datas.get('report_type', 'pdf') == 'raw':
return xml
rml = self.create_rml(cr, xml, uid, context)