summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay (Open ERP) <jvo@tinyerp.com>2009-02-26 12:54:42 +0530
committerJay (Open ERP) <jvo@tinyerp.com>2009-02-26 12:54:42 +0530
commitbc166399076f8905d507ba22dad4a906cc676a76 (patch)
treeb14aa439bf75bdb06b98f62261ca1e955d2e32f9
parent3d3ce6b953d5583004d8c8857e90ee9eb95cedb4 (diff)
[Fix] Bug 333273:Report_sxw corrected(ref : Davide Corio)
bzr revid: jvo@tinyerp.com-20090226072442-3ub70vavmfhthtwl
-rw-r--r--bin/report/report_sxw.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/report/report_sxw.py b/bin/report/report_sxw.py
index 8e0537cf933..fd8d5e35c09 100644
--- a/bin/report/report_sxw.py
+++ b/bin/report/report_sxw.py
@@ -519,8 +519,8 @@ class rml_parse(object):
if not self.logo and rml_head.find('company.logo')>=0:
rml_head = rml_head.replace('<image','<!--image')
rml_head = rml_head.replace('</image>','</image-->')
-
- head_dom = xml.dom.minidom.parseString(rml_head)
+
+ head_dom = xml.dom.minidom.parseString(rml_head.encode('utf-8'))
#for frame in head_dom.getElementsByTagName('frame'):
# frame.parentNode.removeChild(frame)
node2 = head_dom.documentElement