Commit e6c52c24 authored by Ayush Tiwari's avatar Ayush Tiwari

bt5_config: Use getInstallationState to get the state from workflow_history

parent 38c35cd4
......@@ -143,7 +143,7 @@ class TemplateTool (BaseTool):
'Business Package',
'Business Manager']):
if bt.getPortalType() == 'Business Manager':
if bt.getStatus() == 'installed' and bt.title == title:
if bt.getInstallationState() == 'installed' and bt.title == title:
return bt
else:
continue
......
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