[Erp5-report] r44891 rafael - /erp5/trunk/products/ERP5Configurator/Document/

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Mar 31 14:52:30 CEST 2011


Author: rafael
Date: Thu Mar 31 14:52:29 2011
New Revision: 44891

URL: http://svn.erp5.org?rev=44891&view=rev
Log:
Create an empty business Process.

Modified:
    erp5/trunk/products/ERP5Configurator/Document/BusinessProcessConfiguratorItem.py

Modified: erp5/trunk/products/ERP5Configurator/Document/BusinessProcessConfiguratorItem.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Configurator/Document/BusinessProcessConfiguratorItem.py?rev=44891&r1=44890&r2=44891&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Configurator/Document/BusinessProcessConfiguratorItem.py [utf8] (original)
+++ erp5/trunk/products/ERP5Configurator/Document/BusinessProcessConfiguratorItem.py [utf8] Thu Mar 31 14:52:29 2011
@@ -52,9 +52,16 @@ class BusinessProcessConfiguratorItem(Co
   property_sheets = ( PropertySheet.Base
                     , PropertySheet.XMLObject
                     , PropertySheet.CategoryCore
-                    , PropertySheet.DublinCore )
+                    , PropertySheet.DublinCore
+                    )
 
   def build(self, business_configuration):
     portal = self.getPortalObject()
-    raise NotImplemented
-#   self.install(rule, business_configuration)
+    business_process = portal.business_process_module.netContent(
+                                           portal_type="Business Process",
+                                           referece=self.getReference(),
+                                           title=self.getTitle())
+
+    ### XXX Create Business Paths and Business Links
+
+    self.install(business_process, business_configuration)



More information about the Erp5-report mailing list