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:
3d3ce6b
)
[Fix] Bug 333273:Report_sxw corrected(ref : Davide Corio)
author
Jay (Open ERP)
<jvo@tinyerp.com>
Thu, 26 Feb 2009 07:24:42 +0000
(12:54 +0530)
committer
Jay (Open ERP)
<jvo@tinyerp.com>
Thu, 26 Feb 2009 07:24:42 +0000
(12:54 +0530)
bzr revid: jvo@tinyerp.com-
20090226072442
-3ub70vavmfhthtwl
bin/report/report_sxw.py
patch
|
blob
|
history
diff --git
a/bin/report/report_sxw.py
b/bin/report/report_sxw.py
index
8e0537c
..
fd8d5e3
100644
(file)
--- 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