Commit acbc0514 authored by Sebastien Robin's avatar Sebastien Robin

updates conditions on workflow tansitions in order to take into account "dematerialization"

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15443 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fb6d7074
......@@ -73,11 +73,8 @@
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.DCWorkflow.Guard</string>
<string>Guard</string>
</tuple>
<none/>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......@@ -103,18 +100,15 @@
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<tuple>
<string>Products.CMFCore.Expression</string>
<string>Expression</string>
</tuple>
<none/>
<global name="Expression" module="Products.CMFCore.Expression"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>python: \'externe\' in here.getSource()</string> </value>
<value> <string>python: \'externe\' in here.getSource() or here.isDematerialization()</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -108,7 +108,7 @@
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>python: \'externe\' not in here.getSource()</string> </value>
<value> <string>python: \'externe\' not in here.getSource() and not here.isDematerialization()</string> </value>
</item>
</dictionary>
</pickle>
......
451
\ No newline at end of file
453
\ 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