Commit 23a1c1b0 authored by Sebastien Robin's avatar Sebastien Robin

upgrader: by default, we should remove useless business template

It is possible to add script Base_getUpgradeBusinessTemplateList to define
the list of business template you would like to keep if needed
parent fe74c40d
...@@ -54,6 +54,7 @@ ...@@ -54,6 +54,7 @@
\n \n
template_tool = context.getPortalObject().portal_templates\n template_tool = context.getPortalObject().portal_templates\n
return template_tool.upgradeSite(bt5_list,\n return template_tool.upgradeSite(bt5_list,\n
delete_orphaned=True,\n
keep_bt5_id_set=keep_bt5_id_set,\n keep_bt5_id_set=keep_bt5_id_set,\n
dry_run=(not fixit))\n dry_run=(not fixit))\n
</string> </value> </string> </value>
......
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