Commit e5020fab authored by Yoshinori Okuji's avatar Yoshinori Okuji

Get back isIndexable setting in the document constructor.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13810 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a5015ace
......@@ -334,6 +334,8 @@ class DocumentConstructor(Method):
o = self.klass(id)
if activate_kw is not None:
o.setDefaultActivateParameters(**activate_kw)
if is_indexable is not None:
o.isIndexable = is_indexable
folder._setObject(id, o)
o = folder._getOb(id)
# if no activity tool, the object has already an uid
......
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