[Erp5-report] r42308 jerome - /erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateIte...

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Jan 13 17:21:45 CET 2011


Author: jerome
Date: Thu Jan 13 17:21:44 2011
New Revision: 42308

URL: http://svn.erp5.org?rev=42308&view=rev
Log:
initialize causality workflow when we clone a delivery

Modified:
    erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Delivery_afterClone.xml

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Delivery_afterClone.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Delivery_afterClone.xml?rev=42308&r1=42307&r2=42308&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Delivery_afterClone.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Delivery_afterClone.xml [utf8] Thu Jan 13 17:21:44 2011
@@ -54,6 +54,11 @@
 context.setSourceReference(None)\n
 context.setDestinationReference(None)\n
 context.setSolver(None)\n
+\n
+# Initialize Causality Workflow\n
+if hasattr(context, \'startBuilding\'):\n
+  context.startBuilding()\n
+  context.calculateCausalityState()\n
 </string> </value>
         </item>
         <item>



More information about the Erp5-report mailing list