Commit d0f3d1f6 authored by Ayush Tiwari's avatar Ayush Tiwari

erp5_catalog: Install erp5_catalog_transition bt before erp5_catalog_storage...

erp5_catalog: Install erp5_catalog_transition bt before erp5_catalog_storage as we need Catalog portal type early on
parent ade11512
...@@ -2322,8 +2322,8 @@ class ERP5Generator(PortalGenerator): ...@@ -2322,8 +2322,8 @@ class ERP5Generator(PortalGenerator):
""" """
template_tool = p.portal_templates template_tool = p.portal_templates
if template_tool.getInstalledBusinessTemplate('erp5_core') is None: if template_tool.getInstalledBusinessTemplate('erp5_core') is None:
for bt in ('erp5_property_sheets', 'erp5_core', p.erp5_catalog_storage, 'erp5_jquery', for bt in ('erp5_property_sheets', 'erp5_core', 'erp5_catalog_transition',
'erp5_xhtml_style', 'erp5_catalog_transition'): p.erp5_catalog_storage, 'erp5_jquery', 'erp5_xhtml_style'):
if not bt: if not bt:
continue continue
url = getBootstrapBusinessTemplateUrl(bt) url = getBootstrapBusinessTemplateUrl(bt)
......
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