summaryrefslogtreecommitdiff
path: root/bin/report
diff options
context:
space:
mode:
authorYSA (OpenERP) <ysa@openerp.com>2010-12-29 21:12:50 +0100
committerOlivier Dony <odo@openerp.com>2010-12-29 21:12:50 +0100
commitcbe201785fd3a7b93acea9797b09abc39ba7c69c (patch)
tree61ecfe49b8b4b98fec54ed5e94e416b2ac51437a /bin/report
parente2f6d60065963ce74a8df99a3915f2c7702574a2 (diff)
parent6112db95ddc52bc09b197c9df8b2a9181d57fc5f (diff)
[MERGE] base, report: several bugfixes (see bug links)
bzr revid: odo@openerp.com-20101229201250-q7le63xa3rbsce6o
Diffstat (limited to 'bin/report')
-rw-r--r--bin/report/render/rml2pdf/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/report/render/rml2pdf/utils.py b/bin/report/render/rml2pdf/utils.py
index 6f8616da96d..e631fcd9566 100644
--- a/bin/report/render/rml2pdf/utils.py
+++ b/bin/report/render/rml2pdf/utils.py
@@ -131,7 +131,7 @@ def _process_text(self, txt):
pass
if isinstance(txt, basestring):
result += str2xml(txt)
- elif (txt is not None) and (txt is not False):
+ elif txt and (txt is not None) and (txt is not False):
result += ustr(txt)
return result