Commit c4d229af authored by Jérome Perrin's avatar Jérome Perrin

revert r30891 for now, it has side effects (in erp5_subversion commit dialog for example)


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30893 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent bc5e1bce
......@@ -130,6 +130,13 @@ class StaticValue:
value = value.__of__(field)
#value=value() # Mising call ??? XXX Make sure compatible with listbox methods
if id == 'default':
# We make sure we convert values to empty strings
# for most fields (so that we do not get a 'value'
# message on screen)
# This can be overriden by using TALES in the field
if value is None: value = ''
return value
class TALESValue(StaticValue):
......
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