diff --git a/product/ERP5Form/Form.py b/product/ERP5Form/Form.py index e0d3b8ec5ee5ebd234aa4e26836cd9b465eb819c..a0ab2b572be35084bffb44a9d352ee90cbdc0241 100644 --- a/product/ERP5Form/Form.py +++ b/product/ERP5Form/Form.py @@ -130,13 +130,6 @@ 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):