Commit c619a513 authored by Ayush Tiwari's avatar Ayush Tiwari

bt5_config: Use workflow to get Installed Business Manager(s) list

parent 69504848
......@@ -2280,7 +2280,8 @@ class TemplateTool (BaseTool):
def getInstalledBusinessManagerList(self):
bm_list = self.objectValues(portal_type='Business Manager')
installed_bm_list = [bm for bm in bm_list if bm.getStatus() == 'installed']
installed_bm_list = [bm for bm in bm_list
if bm.getInstallationState() == 'installed']
return installed_bm_list
def getInstalledBusinessManagerTitleList(self):
......
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