Commit ad7a385c authored by Ayush Tiwari's avatar Ayush Tiwari Committed by Ayush Tiwari

bt5_config: Also check for Business Manager portal_type for installed templates

parent 1f4d7937
...@@ -169,7 +169,9 @@ class TemplateTool (BaseTool): ...@@ -169,7 +169,9 @@ class TemplateTool (BaseTool):
"""Get the list of installed business templates. """Get the list of installed business templates.
""" """
installed_bts = [] 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': if bt.getInstallationState() == 'installed':
bt5 = bt bt5 = bt
if only_title: 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