Commit 623b587e authored by Sebastien Robin's avatar Sebastien Robin

allow to cut, copy, paste


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2271 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b616073d
......@@ -38,10 +38,11 @@ from Globals import InitializeClass, DTMLFile, PersistentMapping
from OFS.Folder import Folder as OFS_Folder
from Products.ERP5Type import Permissions
from Products.CMFCore.PortalFolder import PortalFolder
from Products.ERP5Type.CopySupport import CopyContainer
from zLOG import LOG
class CategoryTool(CMFCategoryTool, BaseTool):
class CategoryTool(CopyContainer, CMFCategoryTool, BaseTool):
"""
The CategoryTool object is the placeholder for all methods
and algorithms related to categories and relations in ERP5.
......@@ -59,7 +60,6 @@ class CategoryTool(CMFCategoryTool, BaseTool):
def filtered_meta_types(self, user=None):
# Filters the list of available meta types.
#all = CMFCategoryTool.inheritedAttribute('filtered_meta_types')(self)
LOG('CategoryTool.filtered_meta_types',0,CategoryTool.all_meta_types())
meta_types = []
for meta_type in self.all_meta_types():
if meta_type['name'] in self.allowed_types:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment