Commit 0ffbfbfe authored by Aurel's avatar Aurel Committed by Eteri

also reindex ERP5 Report in portal_skins

parent f1afaa63
...@@ -135,8 +135,8 @@ for folder in tool_list: ...@@ -135,8 +135,8 @@ for folder in tool_list:
stop_tree=stop_tree,) stop_tree=stop_tree,)
# Then we index ERP5 Python Scripts and ERP5 Form # Then we index ERP5 Python Scripts and ERP5 Form
print "#### Indexing ERP5 Python Scripts and ERP5 Forms ####" print "#### Indexing ERP5 Python Scripts, ERP5 Forms and ERP5 Reports ####"
for _, obj in portal.portal_skins.ZopeFind(portal.portal_skins, obj_metatypes=('ERP5 Python Script', 'ERP5 Form'), search_sub=1): for _, obj in portal.portal_skins.ZopeFind(portal.portal_skins, obj_metatypes=('ERP5 Python Script', 'ERP5 Form', 'ERP5 Report'), search_sub=1):
obj.activate(tag=folder_tag, obj.activate(tag=folder_tag,
priority=object_priority, priority=object_priority,
after_tag=folder_after_tag).immediateReindexObject(sql_catalog_id=sql_catalog_id) after_tag=folder_after_tag).immediateReindexObject(sql_catalog_id=sql_catalog_id)
......
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