diff --git a/bt5/erp5_demo_ung/SkinTemplateItem/portal_skins/erp5_demo_ung/Alarm_installUngBusinessTemplateList.xml b/bt5/erp5_demo_ung/SkinTemplateItem/portal_skins/erp5_demo_ung/Alarm_installUngBusinessTemplateList.xml index 30c5dd082b30adf8390852cac98bfdfe5ab747b1..bc42ed1d4b8d441d1757d3aa8a763d3fed56f639 100644 --- a/bt5/erp5_demo_ung/SkinTemplateItem/portal_skins/erp5_demo_ung/Alarm_installUngBusinessTemplateList.xml +++ b/bt5/erp5_demo_ung/SkinTemplateItem/portal_skins/erp5_demo_ung/Alarm_installUngBusinessTemplateList.xml @@ -60,9 +60,10 @@ business_template_list = context.Base_getUngBusinessTemplateList()\n \n kw = dict(tag="start")\n for business_template_id in business_template_list:\n - portal.portal_templates.activate(**kw).installBusinessTemplatesFromRepositories((business_template_id,))\n - kw["after_tag"] = kw["tag"]\n - kw["tag"] = business_template_id\n + if business_template_id not in portal.portal_templates.getInstalledBusinessTemplateTitleList():\n + portal.portal_templates.activate(**kw).installBusinessTemplatesFromRepositories((business_template_id,))\n + kw["after_tag"] = kw["tag"]\n + kw["tag"] = business_template_id\n \n return kw\n </string> </value> diff --git a/bt5/erp5_demo_ung/SkinTemplateItem/portal_skins/erp5_demo_ung/Base_getUngBusinessTemplateList.xml b/bt5/erp5_demo_ung/SkinTemplateItem/portal_skins/erp5_demo_ung/Base_getUngBusinessTemplateList.xml index c27d5c366bf8e29fe45efbd354a876f4ba638e0b..4218fc05eb4e1a6428fa025afe30e9d02ee7afa5 100644 --- a/bt5/erp5_demo_ung/SkinTemplateItem/portal_skins/erp5_demo_ung/Base_getUngBusinessTemplateList.xml +++ b/bt5/erp5_demo_ung/SkinTemplateItem/portal_skins/erp5_demo_ung/Base_getUngBusinessTemplateList.xml @@ -50,7 +50,11 @@ </item> <item> <key> <string>_body</string> </key> - <value> <string>return (\'erp5_base\',\n + <value> <string>return (\'erp5_core_proxy_field_legacy\',\n + \'erp5_full_text_myisam_catalog\',\n + \'erp5_base\',\n + \'erp5_simulation\',\n + \'erp5_dhtml_style\',\n \'erp5_web\',\n \'erp5_ingestion_mysql_innodb_catalog\',\n \'erp5_ingestion\',\n @@ -71,10 +75,11 @@ \'erp5_jquery_plugin_jqchart\',\n \'erp5_jquery_plugin_colorpicker\',\n \'erp5_jquery_plugin_elastic\',\n - \'erp5_jquery_plugin_wdcalendar\'\n + \'erp5_jquery_plugin_wdcalendar\',\n \'erp5_jquery_sheet_editor\',\n \'erp5_xinha_editor\',\n \'erp5_svg_editor\',\n + \'erp5_web_ung_role\',\n \'erp5_web_ung_core\',\n \'erp5_web_ung_theme\',)\n </string> </value> diff --git a/bt5/erp5_demo_ung/bt/change_log b/bt5/erp5_demo_ung/bt/change_log index 8ecf38d4d3846e85d1e8cf1ad64b2eaffe6f689f..804ff2f4f7ad1b40d79325d3b3e244fcd573a906 100644 --- a/bt5/erp5_demo_ung/bt/change_log +++ b/bt5/erp5_demo_ung/bt/change_log @@ -1,3 +1,6 @@ +16-03-2011 lucas +* updated bt5 dependency list + 16-03-2011 lucas * set bt5 properties diff --git a/bt5/erp5_demo_ung/bt/revision b/bt5/erp5_demo_ung/bt/revision index 3f10ffe7a4c473619c926cfb1e8d95e726e5a0ec..19c7bdba7b1e9bfe80365a50420a6d538ca503c3 100644 --- a/bt5/erp5_demo_ung/bt/revision +++ b/bt5/erp5_demo_ung/bt/revision @@ -1 +1 @@ -15 \ No newline at end of file +16 \ No newline at end of file