diff --git a/product/ERP5/Document/BusinessTemplate.py b/product/ERP5/Document/BusinessTemplate.py index 0886f0e2e859838c12808084692b83cb57b9e5ab..c75155600558f31c7eb0068cb56ae7be0da40657 100755 --- a/product/ERP5/Document/BusinessTemplate.py +++ b/product/ERP5/Document/BusinessTemplate.py @@ -202,13 +202,6 @@ class CategoryTemplateItem(ObjectTemplateItem): for property,value in property_list.items(): category.setProperty(property,value) - def uninstall(self, context, **kw): - p = context.getPortalObject() - id_list = p.objectIds() - for id in self._archive.keys(): - if id in id_list: - p.manage_delObjects([id]) - BaseTemplateItem.uninstall(self, context, **kw) class SkinTemplateItem(ObjectTemplateItem):