Commit 5e0951a0 authored by Jérome Perrin's avatar Jérome Perrin

when an accounting transaction is cloned, don't copy solver and initialize causality state

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42309 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 79b8ab62
......@@ -50,11 +50,17 @@
</item>
<item>
<key> <string>_body</string> </key>
<value> <string>"""Reset references on copied transactions.\n
<value> <string>"""Reset references on copied transactions and initialize causality workflow.\n
"""\n
context.setSourceReference(None)\n
context.setReference(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>
......
1429
\ No newline at end of file
1430
\ No newline at end of file
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