Commit 78a5f4bd authored by Nicolas Dumazet's avatar Nicolas Dumazet

revert isIndexable hacks.

The only real issue was that ActivityTool was deriving from
BaseTool, this having isIndexable = True, and not being a
portal type (a.k.a no isResourceType kind of methods) and
raising errors when indexed.
Now, ActivityTool has a portal type, and such issues are gone.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43198 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ffb8233c
......@@ -78,7 +78,6 @@ class SimulationTool(BaseTool):
meta_type = 'ERP5 Simulation Tool'
portal_type = 'Simulation Tool'
allowed_types = ( 'ERP5 Applied Rule', )
isIndexable = True
# Declarative Security
security = ClassSecurityInfo()
......
......@@ -41,7 +41,6 @@ class BaseTool (UniqueObject, Folder):
id = 'portal_base_tool' # Override this
meta_type = 'ERP5 Base Tool' # Override this
allowed_types = () # Override this
isIndexable = False
# Declarative Security
security = ClassSecurityInfo()
......
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