Commit 79b8ab62 authored by Jérome Perrin's avatar Jérome Perrin

initialize causality workflow when we clone a delivery


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42308 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3dd85fd7
...@@ -54,6 +54,11 @@ ...@@ -54,6 +54,11 @@
context.setSourceReference(None)\n context.setSourceReference(None)\n
context.setDestinationReference(None)\n context.setDestinationReference(None)\n
context.setSolver(None)\n context.setSolver(None)\n
\n
# Initialize Causality Workflow\n
if hasattr(context, \'startBuilding\'):\n
context.startBuilding()\n
context.calculateCausalityState()\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
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