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
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Romain Courteaud
erp5
Commits
e7be424a
Commit
e7be424a
authored
Mar 08, 2012
by
Arnaud Fontaine
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
template_registered_version_priority_selection property may not be defined if
erp5_property_sheets has not been upgraded yet.
parent
f932d517
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
product/ERP5/Document/BusinessTemplate.py
product/ERP5/Document/BusinessTemplate.py
+6
-1
No files found.
product/ERP5/Document/BusinessTemplate.py
View file @
e7be424a
...
...
@@ -5343,7 +5343,12 @@ Business Template is a set of definitions, such as skins, portal types and categ
We have to set this method because we want an
ordered list
"""
return
self
.
_getOrderedList
(
'template_registered_version_priority_selection'
)
try
:
return
self
.
_getOrderedList
(
'template_registered_version_priority_selection'
)
# This property may not be defined if erp5_property_sheets has not been
# upgraded yet
except
AttributeError
:
return
()
def
getTemplateModuleIdList
(
self
):
"""
...
...
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