parameters: (self,p,**kw)
docstring: Install the ERP5 promise configurator
docstring_summary: Install the ERP5 promise configurator
docstring_tokens: Install the ERP5 promise configurator
function: def setupERP5Promise(self,p,**kw):
      """
      Install the ERP5 promise configurator
      """
      template_tool = p.portal_templates
      # Configure the bt5 repository
      repository = p.getPromiseParameter('portal_templates', 'repository')
      if repository is not None:
        template_tool.updateRepositoryBusinessTemplateList(repository.split())
        template_tool.installBusinessTemplateListFromRepository(
            ['erp5_promise'], activate=True, install_dependency=True)
function_tokens: def setupERP5Promise ( self , p , * * kw ) : template_tool = p . portal_templates # Configure the bt5 repository repository = p . getPromiseParameter ( 'portal_templates' , 'repository' ) if repository is not None : template_tool . updateRepositoryBusinessTemplateList ( repository . split ( ) ) template_tool . installBusinessTemplateListFromRepository ( [ 'erp5_promise' ] , activate = True , install_dependency = True )