diff --git a/product/ERP5Type/Constraint/PropertyTypeValidity.py b/product/ERP5Type/Constraint/PropertyTypeValidity.py index 2d93e25975b0072e0dc4729981c0f3e68e0fe4fa..ad068ecbc96c4c0fb44863edf8e741b44e86525f 100755 --- a/product/ERP5Type/Constraint/PropertyTypeValidity.py +++ b/product/ERP5Type/Constraint/PropertyTypeValidity.py @@ -29,6 +29,7 @@ ############################################################################## from Constraint import Constraint +from DateTime import DateTime class PropertyTypeValidity(Constraint): """ @@ -49,6 +50,7 @@ class PropertyTypeValidity(Constraint): 'tokens': (type([]), type(())), 'selection': (type([]), type(())), 'multiple selection': (type([]), type(())), + 'date': (type(DateTime()), ), } def _checkPropertiesAttributes(self):