Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
erp5
Commits
0896b494
Commit
0896b494
authored
Oct 05, 2012
by
Arnaud Fontaine
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow to specify bt5 which are not going to be upgraded (meaningful for master data for example).
parent
60efc5fa
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_upgradeBusinessTemplateList.xml
...ns/erp5_upgrader/ERP5Site_upgradeBusinessTemplateList.xml
+2
-1
bt5/erp5_upgrader/bt/change_log
bt5/erp5_upgrader/bt/change_log
+3
-0
bt5/erp5_upgrader/bt/revision
bt5/erp5_upgrader/bt/revision
+1
-1
No files found.
bt5/erp5_upgrader/SkinTemplateItem/portal_skins/erp5_upgrader/ERP5Site_upgradeBusinessTemplateList.xml
View file @
0896b494
...
@@ -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
...
...
bt5/erp5_upgrader/bt/change_log
View file @
0896b494
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.
...
...
bt5/erp5_upgrader/bt/revision
View file @
0896b494
597
598
\ No newline at end of file
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment