From 0bc26d2faf2ce6cd158cae6d0920516012ffc6fd Mon Sep 17 00:00:00 2001 From: "VRA(OpenERP)" <> Date: Tue, 18 Aug 2009 13:33:37 +0530 Subject: [PATCH] =?UTF-8?q?[FIX]=20Print=20Screen=20:=20=20was=20not=20con?= =?UTF-8?q?sidering=20field=20names=20with=20superscripted,subscripted=20c?= =?UTF-8?q?haracters(ex.m=C2=B2)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit lp bug: https://launchpad.net/bugs/413484 fixed bzr revid: jvo@tinyerp.com-20090818080337-6n1wgu1j2t76r9it --- bin/report/printscreen/ps_list.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/report/printscreen/ps_list.py b/bin/report/printscreen/ps_list.py index 7ec98c1a0ab..56c2f6f9815 100644 --- a/bin/report/printscreen/ps_list.py +++ b/bin/report/printscreen/ps_list.py @@ -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)