Commit 3315627e authored by Aurel's avatar Aurel

keep old action when getting properties from portal types


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@5290 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent bc3c7d45
...@@ -4133,8 +4133,8 @@ Business Template is a set of definitions, such as skins, portal types and categ ...@@ -4133,8 +4133,8 @@ Business Template is a set of definitions, such as skins, portal types and categ
bt_hidden_content_type_list = [] bt_hidden_content_type_list = []
bt_property_sheet_list = [] bt_property_sheet_list = []
bt_base_category_list = [] bt_base_category_list = []
bt_action_list = [] bt_action_list = getattr(self, 'template_action_path', [])
bt_action_list = list(bt_action_list)
bt_portal_types_id_list = list(self.getTemplatePortalTypeIdList()) bt_portal_types_id_list = list(self.getTemplatePortalTypeIdList())
p = self.getPortalObject() p = self.getPortalObject()
for id in bt_portal_types_id_list: for id in bt_portal_types_id_list:
......
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