Commit ee15b3c7 authored by Ayush Tiwari's avatar Ayush Tiwari

erp5_catalog: Inherit BaseTool class to include CatalogTool inside ERP5

parent 088e37cc
......@@ -42,7 +42,8 @@ from Acquisition import aq_base, aq_inner, aq_parent, ImplicitAcquisitionWrapper
from Products.CMFActivity.ActiveObject import ActiveObject
from Products.CMFActivity.ActivityTool import GroupedMessage
from Products.ERP5Type.TransactionalVariable import getTransactionalVariable
from Products.ERP5Type.Core.Folder import Folder
from Products.ERP5Type.Tool.BaseTool import BaseTool
from Products.ERP5Type.CopySupport import CopyContainer
from AccessControl.PermissionRole import rolesForPermissionOn
......@@ -303,7 +304,7 @@ class RelatedBaseCategory(Method):
'RELATED_QUERY_SEPARATOR': RELATED_QUERY_SEPARATOR,
}
class CatalogTool (UniqueObject, ZCatalog, CMFCoreCatalogTool, ActiveObject, Folder):
class CatalogTool (CopyContainer, ZCatalog, CMFCoreCatalogTool, BaseTool):
"""
This is a ZSQLCatalog that filters catalog queries.
It is based on ZSQLCatalog
......
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