diff --git a/product/ERP5Type/Accessor/Base.py b/product/ERP5Type/Accessor/Base.py index 2b556db0738f084f621f1676329ffeb2347dd270..6429772d60268af1ed20b85dd3e4e40fcbe55c4c 100644 --- a/product/ERP5Type/Accessor/Base.py +++ b/product/ERP5Type/Accessor/Base.py @@ -143,8 +143,9 @@ class Getter(Method): default = args[0] else: default = self._default - value = getattr(aq_base(instance), self._storage_id, None) # No acquisition on properties - if value is not None: + # No acquisition on properties + value = getattr(aq_base(instance), self._storage_id, self._null[0]) + if value not in self._null: if self._is_tales_type and kw.get('evaluate', 1): return evaluateTales(instance, value) else: