Commit eada0efc authored by Sebastien Robin's avatar Sebastien Robin

do not reindex RoleInformation and ActionInformation

in unit tests

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29864 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f617bad5
...@@ -1077,6 +1077,13 @@ def optimize(): ...@@ -1077,6 +1077,13 @@ def optimize():
self._filepath = self.get_filepath() self._filepath = self.get_filepath()
PythonScript._makeFunction = _makeFunction PythonScript._makeFunction = _makeFunction
# Do not reindex portal types sub objects
# We will probably disable reindexing for other types later
from Products.ERP5Type.Document.RoleInformation import RoleInformation
RoleInformation.isIndexable = 0
from Products.ERP5Type.Document.ActionInformation import ActionInformation
ActionInformation.isIndexable = 0
optimize() optimize()
......
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