[FIX] Print Screen
authorStephane Wirtel <stephane@tinyerp.com>
Mon, 22 Dec 2008 15:04:10 +0000 (16:04 +0100)
committerStephane Wirtel <stephane@tinyerp.com>
Mon, 22 Dec 2008 15:04:10 +0000 (16:04 +0100)
lp bug: https://launchpad.net/bugs/310559 fixed

bzr revid: stephane@tinyerp.com-20081222150410-d14q1cij3ybwu93p

bin/report/printscreen/ps_list.py

index 3c2f339..379f113 100644 (file)
@@ -166,7 +166,7 @@ class report_printscreen_list(report_int):
                 col.setAttribute('para','yes')
                 col.setAttribute('tree','no')
                 if line[f] != None:
-                    txt = new_doc.createTextNode(line[f] or '')
+                    txt = new_doc.createTextNode(str(line[f] or ''))
                     if temp[count] == 1:
                         tsum[count] = float(tsum[count])  + float(line[f]);