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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Xueyun Qian
erp5
Commits
be6feb0f
Commit
be6feb0f
authored
Mar 20, 2012
by
Romain Courteaud
🐸
Committed by
Sebastien Robin
Aug 23, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Also display list of bt5 to update
parent
ca8419b7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
bt5/erp5_promise/SkinTemplateItem/portal_skins/erp5_promise/Alarm_checkPromiseBt5.xml
...eItem/portal_skins/erp5_promise/Alarm_checkPromiseBt5.xml
+4
-2
bt5/erp5_promise/bt/revision
bt5/erp5_promise/bt/revision
+1
-1
No files found.
bt5/erp5_promise/SkinTemplateItem/portal_skins/erp5_promise/Alarm_checkPromiseBt5.xml
View file @
be6feb0f
...
...
@@ -60,7 +60,9 @@ if bt5 is None:\n
\n
active_result = ActiveResult()\n
\n
bt5_list = portal.portal_templates.resolveBusinessTemplateListDependency(bt5.split(\'\\n\'), newest_only=True)\n
bt5_list = [x[1] for x in portal.portal_templates.resolveBusinessTemplateListDependency("vifib_erp5".split(\'\\n\'), newest_only=True)]\n
bt5_list.extend([x.getTitle() for x in portal.portal_templates.getUpdatedRepositoryBusinessTemplateList()])\n
bt5_list = list(set(bt5_list))\n
\n
# XXX Can not import BusinessTemplateUnknownError\n
# except BusinessTemplateUnknownError, error:\n
...
...
@@ -75,7 +77,7 @@ if severity == 0:\n
detail = ""\n
else:\n
summary = "Upgrade needed"\n
detail = "Needed to install %s" % \', \'.join(
[x[1] for x in bt5_list]
)\n
detail = "Needed to install %s" % \', \'.join(
bt5_list
)\n
active_result.edit(\n
summary=summary, \n
severity=severity,\n
...
...
bt5/erp5_promise/bt/revision
View file @
be6feb0f
3
\ No newline at end of file
4
\ 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