[FIX] encoding problems
lp bug: https://launchpad.net/bugs/311159 fixed bzr revid: christophe@taupe-20081226132945-z366jn2es0mms9ul
This commit is contained in:
parent
1be0861d4a
commit
bfecad04b5
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue