summaryrefslogtreecommitdiff
path: root/bin/report/render/rml2pdf
diff options
context:
space:
mode:
authorYogesh Sakhreliya <ysa@tinyerp.com>2010-12-28 16:39:29 +0530
committerYogesh Sakhreliya <ysa@tinyerp.com>2010-12-28 16:39:29 +0530
commitcfad3fdbb9d13b9a605f09d2ab6dbf7be5c77130 (patch)
tree857cf14ca1b266c1e36ec70860c910699f46e7f8 /bin/report/render/rml2pdf
parent5e74d37e723ab0521b222126ebf1c770f30636d4 (diff)
[FIX] chnage the create new address record and change address_id in demo user. and fix problem in report file.
bzr revid: ysa@tinyerp.com-20101228110929-tr369m30tccn78up
Diffstat (limited to 'bin/report/render/rml2pdf')
-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