Commit 11e8c518 authored by Lucas Carvalho's avatar Lucas Carvalho

The script ERPSite_getConfiguratorBusinessProcessList returns a list instead of a dict.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44952 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a4646adf
...@@ -68,7 +68,7 @@ class BusinessProcessConfiguratorItem(ConfiguratorItemMixin, XMLObject): ...@@ -68,7 +68,7 @@ class BusinessProcessConfiguratorItem(ConfiguratorItemMixin, XMLObject):
# Create Business Paths and Business Links # Create Business Paths and Business Links
business_process_list = portal.ERPSite_getConfiguratorBusinessProcessList() business_process_list = portal.ERPSite_getConfiguratorBusinessProcessList()
for property_dict in business_process_list.iteritems(): for property_dict in business_process_list:
business_process.newContent(**property_dict) business_process.newContent(**property_dict)
......
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