def _bootstrap(self): from Products.ERP5.ERP5Site import ERP5Generator ERP5Generator.bootstrap(self, 'erp5_core', 'PortalTypeTemplateItem', ( 'Business Template', 'Standard Property', 'Acquired Property', # the following ones are required to upgrade an existing site 'Category Property', # the following is needed to bootstrap Catalog Tool and default catalog 'Catalog Tool', )) ERP5Generator.bootstrap_allow_type(self, 'Catalog Tool')
def _bootstrap(self): from Products.ERP5.ERP5Site import ERP5Generator ERP5Generator.bootstrap(self, 'erp5_core', 'PortalTypeTemplateItem', self._bootstrap_type_list) getattr(self, 'Workflow Transition Variable').base_category_list = ('causality',) ERP5Generator.bootstrap_allow_type(self, 'Catalog Tool') ERP5Generator.bootstrap_allow_type(self, 'Workflow Tool') ERP5Generator.bootstrap_allow_type(self, 'Workflow') ERP5Generator.bootstrap_allow_type(self, 'Workflow Transition') ERP5Generator.bootstrap_allow_type(self, 'Interaction Workflow')