From 15123b4b58cbcc78d3826004d0fcb2ab63c973f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Mon, 28 Jan 2013 16:27:48 +0100 Subject: [PATCH] Fix installation of bt from repo that was selecting installing bts --- .../TemplateTool_installRepositoryBusinessTemplateList.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/TemplateTool_installRepositoryBusinessTemplateList.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/TemplateTool_installRepositoryBusinessTemplateList.xml index 9d13af094b..c744b3716d 100644 --- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/TemplateTool_installRepositoryBusinessTemplateList.xml +++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/TemplateTool_installRepositoryBusinessTemplateList.xml @@ -71,7 +71,8 @@ if len(uids) == 0:\n id_list = []\n portal_status_message = \'\'\n current_uid_list=[]\n -installed_business_template_title_list = context.getInstalledBusinessTemplateTitleList()\n +installed_business_template_title_list = [\'%s.bt5\' % bt for bt in context.getInstalledBusinessTemplateTitleList()]\n +\n for uid in uids:\n current_uid_list.append(uid)\n repository, id = context.decodeRepositoryBusinessTemplateUid(uid)\n -- 2.30.9