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
Tatuya Kamada
erp5
Commits
9743b5fe
Commit
9743b5fe
authored
Mar 01, 2012
by
Arnaud Fontaine
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cosmetic.
parent
ca82437d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
product/ERP5/ERP5Site.py
product/ERP5/ERP5Site.py
+4
-4
No files found.
product/ERP5/ERP5Site.py
View file @
9743b5fe
...
...
@@ -446,12 +446,12 @@ class ERP5Site(FolderMixIn, CMFSite, CacheCookieMixin):
security
.
declareProtected
(
Permissions
.
AccessContentsInformation
,
'getVersionPriorityList'
)
def
getVersionPriorityList
(
self
):
"""
Return the Component version priorities defined on the site
"""
# Whatever happens, a version must always be returned otherwise it may
# render the site unusable when all Products will have been migrated
if
not
self
.
_version_priority_list
:
return
(
'erp5'
,)
return
self
.
_version_priority_list
return
self
.
_version_priority_list
or
(
'erp5'
,)
security
.
declareProtected
(
Permissions
.
ModifyPortalContent
,
'setVersionPriorityList'
)
...
...
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