diff --git a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_upgradeBusinessTemplateList.xml b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_upgradeBusinessTemplateList.xml index c803730f2791b9902abf76306af3c9bc91f2787e..88a69b0a787fe69f7808a329a5bdc44cf14c5112 100644 --- a/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_upgradeBusinessTemplateList.xml +++ b/bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_upgradeBusinessTemplateList.xml @@ -76,11 +76,12 @@ reinstallable_bt5_id_list = signature.get(\'reinstallable_bt5_id_list\', signatu before_triggered_bt5_id_dict = signature.get(\'before_triggered_bt5_id_dict\', {})\n after_triggered_bt5_id_dict = signature.get(\'after_triggered_bt5_id_dict\', {})\n update_catalog_bt5_id_list = signature.get(\'update_catalog_bt5_id_list\', [])\n +not_upgradable_id_list = signature.get(\'not_upgradable_id_list\', [])\n \n bt5_id_list = dict([(x, True) for x in list(required_bt5_id_list) + \\\n list(upgradable_bt5_id_list) + \\\n list(reinstallable_bt5_id_list) \\\n - if x in available_bt5_id_list]).keys()\n + if x in available_bt5_id_list and x not in not_upgradable_id_list]).keys()\n \n # sort by dependencies\n bt5_list = [portal_templates.decodeRepositoryBusinessTemplateUid(x.uid) for x in \\\n diff --git a/bt5/erp5_upgrader/bt/change_log b/bt5/erp5_upgrader/bt/change_log index ebea547e956c3a5ed8439f88fcf7d5998eb988fb..e57531a5583d5ed714fcbd1941126989ac4c7576 100644 --- a/bt5/erp5_upgrader/bt/change_log +++ b/bt5/erp5_upgrader/bt/change_log @@ -1,3 +1,6 @@ +2012-10-05 arnaud.fontaine +* Allow to specify bt5 which are not going to be upgraded (meaningful for master data for example). + 2011-03-10 Kazuhiko * by default, all installed business templates will be upgraded, not all existing business templates in the repository. diff --git a/bt5/erp5_upgrader/bt/revision b/bt5/erp5_upgrader/bt/revision index 5203768bd595700874fadf7a73ab838622f01867..4af6ab79ff3523de3924cae3e3051bc45ab9c7a7 100644 --- a/bt5/erp5_upgrader/bt/revision +++ b/bt5/erp5_upgrader/bt/revision @@ -1 +1 @@ -597 \ No newline at end of file +598 \ No newline at end of file