summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaresh Choksy <nch@tinyerp.com>2009-05-04 17:41:43 +0530
committerNaresh Choksy <nch@tinyerp.com>2009-05-04 17:41:43 +0530
commit056a492f9f724276e7ae3115a838fc5ab8dfdcfc (patch)
treeca3550acabd1268c5a846563758bdc2e664d485d
parentce281db084fd42eda67a288daa3f745e01d24d30 (diff)
bugfix stocklocation report
bzr revid: nch@tinyerp.com-20090504121143-mhdotlflvixcc93a
-rw-r--r--bin/report/render/rml2pdf/utils.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/report/render/rml2pdf/utils.py b/bin/report/render/rml2pdf/utils.py
index c92567d738f..09f487318ee 100644
--- a/bin/report/render/rml2pdf/utils.py
+++ b/bin/report/render/rml2pdf/utils.py
@@ -91,6 +91,8 @@ def _process_text(self, txt):
txt2 = eval(sps.pop(0),self.localcontext)
except:
txt2 = ''
+ if type(txt2) == type(0) or type(txt2) == type(0.0):
+ txt2 = str(txt2)
if type(txt2)==type('') or type(txt2)==type(u''):
result += txt2
return result