[Fix] Bug 333273:Report_sxw corrected(ref : Davide Corio)

bzr revid: jvo@tinyerp.com-20090226072442-3ub70vavmfhthtwl
This commit is contained in:
Jay (Open ERP)
2009-02-26 12:54:42 +05:30
parent 3d3ce6b953
commit bc16639907
+2 -2
View File
@@ -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