diff --git a/product/ERP5Type/Base.py b/product/ERP5Type/Base.py index c339e11bceebc917718e1f008428828aecb9f4da..e3a380a8a546c30e5e1596e901189e60a866f696 100644 --- a/product/ERP5Type/Base.py +++ b/product/ERP5Type/Base.py @@ -3115,7 +3115,7 @@ class Base( CopyContainer, if len(history): # Then get the first line of edit_workflow return history[0].get('time', None) - if hasattr(self, 'CreationDate') : + if getattr(aq_base(self), 'CreationDate', None) is not None: return asDate(self.CreationDate()) return None