Commit efa808e2 authored by Rafael Monnerat's avatar Rafael Monnerat

Create an empty business Process.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44891 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 038c317e
...@@ -52,9 +52,16 @@ class BusinessProcessConfiguratorItem(ConfiguratorItemMixin, XMLObject): ...@@ -52,9 +52,16 @@ class BusinessProcessConfiguratorItem(ConfiguratorItemMixin, XMLObject):
property_sheets = ( PropertySheet.Base property_sheets = ( PropertySheet.Base
, PropertySheet.XMLObject , PropertySheet.XMLObject
, PropertySheet.CategoryCore , PropertySheet.CategoryCore
, PropertySheet.DublinCore ) , PropertySheet.DublinCore
)
def build(self, business_configuration): def build(self, business_configuration):
portal = self.getPortalObject() portal = self.getPortalObject()
raise NotImplemented business_process = portal.business_process_module.netContent(
# self.install(rule, business_configuration) portal_type="Business Process",
referece=self.getReference(),
title=self.getTitle())
### XXX Create Business Paths and Business Links
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