diff --git a/product/ERP5Configurator/Document/BusinessProcessConfiguratorItem.py b/product/ERP5Configurator/Document/BusinessProcessConfiguratorItem.py index c5679bf18d96cfbfd9f29b123ea709772dd96f2a..656a3a0eea39860929961e65f504e9056f3debaa 100644 --- a/product/ERP5Configurator/Document/BusinessProcessConfiguratorItem.py +++ b/product/ERP5Configurator/Document/BusinessProcessConfiguratorItem.py @@ -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)