Commit a3567803 authored by Ayush Tiwari's avatar Ayush Tiwari

bt5_prototype: No need to hardcode bp name and use is_package param

parent 4f549e06
......@@ -2410,11 +2410,8 @@ class ERP5Generator(PortalGenerator):
p.erp5_catalog_storage, 'erp5_jquery', 'erp5_xhtml_style'):
if not bt:
continue
is_package = False
if bt == 'erp5_mysql_innodb_catalog':
is_package = True
url = getBootstrapBusinessTemplateUrl(bt)
bt = template_tool.download(url, is_package=is_package)
bt = template_tool.download(url)
bt.install(**kw)
def setupERP5Promise(self,p,**kw):
......
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