Commit 86743e80 authored by Vincent Pelletier's avatar Vincent Pelletier

Do the same checks as in finish_action transition.

Allow archiving only if document has a causality.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18961 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c193e68c
......@@ -51,7 +51,7 @@
</item>
<item>
<key> <string>script_name</string> </key>
<value> <string></string> </value>
<value> <string>CheckTransitionFinish</string> </value>
</item>
<item>
<key> <string>title</string> </key>
......@@ -73,6 +73,12 @@
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>expr</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item>
<key> <string>roles</string> </key>
<value>
......@@ -85,4 +91,20 @@
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<global name="Expression" module="Products.CMFCore.Expression"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>python: here.getCausalityValue() is not None</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
575
\ No newline at end of file
578
\ 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