diff --git a/product/ERP5Type/Document/Folder.py b/product/ERP5Type/Document/Folder.py index 819e2ddb6ebc70d79469e7a1d7e8858225a857d2..9ce7ee6f198092a5d11bca999a7d01b8f200c100 100644 --- a/product/ERP5Type/Document/Folder.py +++ b/product/ERP5Type/Document/Folder.py @@ -888,6 +888,15 @@ be a problem).""" for o in self.objectValues(): if hasattr(aq_base(o), 'makeTemplateInstance'): o.makeTemplateInstance() + def _delObject(self, id, dp=1): + """ + _delObject is redefined here in order to make sure + we do not do silent except while we remove objects + from catalog + """ + object = self._getOb(id) + object.manage_beforeDelete(object, self) + self._delOb(id) # Overwrite Zope setTitle() Folder.setTitle = Base.setTitle