diff --git a/product/ERP5Type/Constraint/PropertyTypeValidity.py b/product/ERP5Type/Constraint/PropertyTypeValidity.py index ca82704fea7a0eb4580ffbab9c4d5ebe3727c451..3e9df5dc00a994d75b599b294c1fad0b98be0f87 100644 --- a/product/ERP5Type/Constraint/PropertyTypeValidity.py +++ b/product/ERP5Type/Constraint/PropertyTypeValidity.py @@ -68,7 +68,10 @@ class PropertyTypeValidity(Constraint): else: property_type = prop['type'] wrong_type = 0 - value = obj.getProperty(property_id) + if property_type == 'tales': + value = obj.getProperty(property_id, evaluate=0) + else: + value = obj.getProperty(property_id) if value is not None: # Check known type try: