Commit e7be424a authored by Arnaud Fontaine's avatar Arnaud Fontaine

template_registered_version_priority_selection property may not be defined if

erp5_property_sheets has not been upgraded yet.
parent f932d517
...@@ -5343,7 +5343,12 @@ Business Template is a set of definitions, such as skins, portal types and categ ...@@ -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 We have to set this method because we want an
ordered list 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): def getTemplateModuleIdList(self):
""" """
......
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