Commit 0a164570 authored by Ayush Tiwari's avatar Ayush Tiwari

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

parent 05aef381
...@@ -2283,7 +2283,8 @@ class TemplateTool (BaseTool): ...@@ -2283,7 +2283,8 @@ class TemplateTool (BaseTool):
def getInstalledBusinessManagerList(self): def getInstalledBusinessManagerList(self):
bm_list = self.objectValues(portal_type='Business Manager') 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 return installed_bm_list
def getInstalledBusinessManagerTitleList(self): 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