diff --git a/product/ERP5Type/Base.py b/product/ERP5Type/Base.py index d3eb6e043ba17e8d3ac89d403ebefca027cdc016..285a171b68c98a3f4e17b1855d58bebacca5c6ba 100644 --- a/product/ERP5Type/Base.py +++ b/product/ERP5Type/Base.py @@ -2872,10 +2872,6 @@ class Base( CopyContainer, return dict(redirect_url=container.absolute_url(), selection_index=None, selection_name=None) - # Hash method - def __hash__(self): - return hash(self.getUid()) - security.declareProtected(Permissions.ModifyPortalContent, 'setGuid') def setGuid(self): """ diff --git a/product/ERP5Type/XMLObject.py b/product/ERP5Type/XMLObject.py index b9faaddf951403cb636b5598ca99d7b6cea21315..2cc5781ad5c27699cea48346ab51bbb0c583a7a5 100644 --- a/product/ERP5Type/XMLObject.py +++ b/product/ERP5Type/XMLObject.py @@ -108,9 +108,5 @@ class XMLObject( Folder ): conduit = ERP5Conduit() conduit.addNode(object=self, xml=xml) - # Hash method - def __hash__(self): - return hash(self.getUid()) - InitializeClass(XMLObject)