diff --git a/product/ERP5/Document/BusinessTemplate.py b/product/ERP5/Document/BusinessTemplate.py index c2294e2d810de669d0f5bbdf7afdb2661a827194..fa6270caa8eb1fb7ce965935b0c58420bf0843ff 100755 --- a/product/ERP5/Document/BusinessTemplate.py +++ b/product/ERP5/Document/BusinessTemplate.py @@ -4166,8 +4166,10 @@ Business Template is a set of definitions, such as skins, portal types and categ bt_property_sheet_list.append(id+' | '+ps_id) for bc_id in base_category_list: bt_base_category_list.append(id+' | '+bc_id) - for act_id in action_list: - bt_action_list.append(id+' | '+act_id) + for act_id in action_list: + action_id = id+' | '+act_id + if action_id not in bt_action_list: + bt_action_list.append(action_id) bt_allowed_content_type_list.sort() bt_hidden_content_type_list.sort()