Commit f5f89507 authored by Ayush Tiwari's avatar Ayush Tiwari

bt5_config: Also check for Business Manager portal_type for installed templates

parent 9827174a
......@@ -169,7 +169,9 @@ class TemplateTool (BaseTool):
"""Get the list of installed business templates.
"""
installed_bts = []
for bt in self.contentValues(portal_type=['Business Template', 'Business Package']):
for bt in self.contentValues(portal_type=['Business Template',
'Business Package',
'Business Manager']):
if bt.getInstallationState() == 'installed':
bt5 = bt
if only_title:
......
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