Commit dfbdd246 authored by Lucas Carvalho's avatar Lucas Carvalho

Create the BusinessPath and BusinessLink objects.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44933 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8b1d254f
......@@ -62,9 +62,14 @@ class BusinessProcessConfiguratorItem(ConfiguratorItemMixin, XMLObject):
referece=self.getReference(),
title=self.getTitle())
### XXX Create Business Paths and Business Links
business_configuration.setGlobalConfigurationAttr(\
business_process_id=business_process.getId())
# Create Business Paths and Business Links
business_process_list = portal.ERPSite_getConfiguratorBusinessProcessList()
for property_dict in business_process_list.iteritems():
business_process.newContent(**property_dict)
self.install(business_process, business_configuration)
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