[FIX] Print Screen : was not considering field names with superscripted,subscripted characters(ex.m²)

lp bug: https://launchpad.net/bugs/413484 fixed

bzr revid: jvo@tinyerp.com-20090818080337-6n1wgu1j2t76r9it
This commit is contained in:
VRA(OpenERP)
2009-08-18 13:33:37 +05:30
committed by Jay (Open ERP)
parent b29baf18e6
commit 0bc26d2faf
+2 -2
View File
@@ -139,7 +139,7 @@ class report_printscreen_list(report_int):
for f in fields_order:
field = etree.Element("field")
field.text = fields[f]['string'] or ''
field.text = tools.ustr(fields[f]['string'] or '')
header.append(field)
new_doc.append(header)
@@ -219,7 +219,7 @@ class report_printscreen_list(report_int):
if f == 0:
txt ='Total'
col.text = txt
col.text = tools.ustr(txt or '')
node_line.append(col)
lines.append(node_line)