From f886f8f43b6d627dcd6c6900e61bee3bc2c59648 Mon Sep 17 00:00:00 2001 From: Olivier Dony Date: Tue, 9 Nov 2010 11:53:29 +0100 Subject: [PATCH] [FIX] reports/rml2pdf: improved previous fix of unicode/str conversion bzr revid: odo@openerp.com-20101109105329-zjtz7lcdg6h0trxw --- bin/report/render/rml2pdf/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/report/render/rml2pdf/utils.py b/bin/report/render/rml2pdf/utils.py index be7eecef896..947526fc61b 100644 --- a/bin/report/render/rml2pdf/utils.py +++ b/bin/report/render/rml2pdf/utils.py @@ -130,7 +130,7 @@ def _process_text(self, txt): if isinstance(txt, basestring): result += str2xml(txt) elif (txt is not None) and (txt is not False): - result += txt + result += unicode(txt) return result def text_get(node):