Commit da28a475 authored by Ivan Tyagov's avatar Ivan Tyagov

Fallback to None.

parent 0f2efaf3
...@@ -5589,7 +5589,7 @@ Business Template is a set of definitions, such as skins, portal types and categ ...@@ -5589,7 +5589,7 @@ Business Template is a set of definitions, such as skins, portal types and categ
(SimpleItem.SimpleItem,), {'__module__': module_id})) (SimpleItem.SimpleItem,), {'__module__': module_id}))
for item_name in self._item_name_list: for item_name in self._item_name_list:
item_object = getattr(self, item_name) item_object = getattr(self, item_name, None)
# this check is due to backwards compatability when there can be a # this check is due to backwards compatability when there can be a
# difference between install erp5_property_sheets (esp. BusinessTemplate # difference between install erp5_property_sheets (esp. BusinessTemplate
# property sheet) # property sheet)
......
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