Commit b37f93b2 authored by Lucas Carvalho's avatar Lucas Carvalho

Wait for immediateReindexObject and Folder_reindexAll methods before start the setup.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43536 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 99f3b3c6
......@@ -57,7 +57,7 @@ portal.portal_templates.updateRepositoryBusinessTemplateList(\n
[\'http://www.erp5.org/dists/snapshot/bt5/\'])\n
business_template_list = context.Base_getDemoSMBBusinessTemplateList()\n
\n
kw = dict(tag="start")\n
kw = dict(tag="start", after_method_id = ["immediateReindexObject", "Folder_reindexAll"])\n
for business_template_id in business_template_list:\n
portal.portal_templates.activate(**kw).installBusinessTemplatesFromRepositories((business_template_id,))\n
kw["after_tag"] = kw["tag"]\n
......
22
\ No newline at end of file
24
\ No newline at end of file
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