Commit 63fd7b12 authored by Arnaud Fontaine's avatar Arnaud Fontaine

Allow to specify bt5 which are not going to be upgraded (meaningful for master data for example).

parent 1a688764
...@@ -76,11 +76,12 @@ reinstallable_bt5_id_list = signature.get(\'reinstallable_bt5_id_list\', signatu ...@@ -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 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 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 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 \n
bt5_id_list = dict([(x, True) for x in list(required_bt5_id_list) + \\\n bt5_id_list = dict([(x, True) for x in list(required_bt5_id_list) + \\\n
list(upgradable_bt5_id_list) + \\\n list(upgradable_bt5_id_list) + \\\n
list(reinstallable_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 \n
# sort by dependencies\n # sort by dependencies\n
bt5_list = [portal_templates.decodeRepositoryBusinessTemplateUid(x.uid) for x in \\\n bt5_list = [portal_templates.decodeRepositoryBusinessTemplateUid(x.uid) for x in \\\n
......
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 2011-03-10 Kazuhiko
* by default, all installed business templates will be upgraded, not all existing business templates in the repository. * by default, all installed business templates will be upgraded, not all existing business templates in the repository.
......
597 598
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment