Commit 16d8bf86 authored by Rafael Monnerat's avatar Rafael Monnerat

is_bt5_installation_over is always true

This method requires a serious refactor to fix the progress bar
at Configurator.
parent 6f2ea57c
......@@ -389,13 +389,9 @@ class ConfiguratorTool(BaseTool):
global installation_status
portal_activities = self.getPortalObject().portal_activities
is_bt5_installation_over = (portal_activities.countMessageWithTag(
'initialERP5Setup') == 0)
if 0 == len(portal_activities.getMessageList()) and \
is_bt5_installation_over:
if 0 == len(portal_activities.getMessageList()):
html = self.ConfiguratorTool_viewSuccessfulConfigurationMessageRenderer()
else:
if is_bt5_installation_over:
# only if bt5s are installed start tracking number of activities
activity_list = portal_activities.getMessageList()
installation_status['activity_list'].append(len(activity_list))
......
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