Commit b951fcfb authored by Sebastien Robin's avatar Sebastien Robin

make amount values working with %

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15911 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9ccdba3b
......@@ -208,6 +208,7 @@ class QueryMixin:
if type == 'float':
# Make sure there is no space in float values
value = value.replace(' ','')
value = "'%s'" % value
else:
if hasattr(value, 'ISO'):
value = "'%s'" % value.ISO()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment