(self,p,**kw)
Install the ERP5 promise configurator
Install the ERP5 promise configurator
Install the ERP5 promise configurator
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)
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 )