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 @@ ...@@ -73,11 +73,8 @@
<record id="2" aka="AAAAAAAAAAI="> <record id="2" aka="AAAAAAAAAAI=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="Guard" module="Products.DCWorkflow.Guard"/>
<string>Products.DCWorkflow.Guard</string> <tuple/>
<string>Guard</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
...@@ -103,18 +100,15 @@ ...@@ -103,18 +100,15 @@
<record id="3" aka="AAAAAAAAAAM="> <record id="3" aka="AAAAAAAAAAM=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="Expression" module="Products.CMFCore.Expression"/>
<string>Products.CMFCore.Expression</string> <tuple/>
<string>Expression</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item> <item>
<key> <string>text</string> </key> <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> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -108,7 +108,7 @@ ...@@ -108,7 +108,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>text</string> </key> <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> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
451 453
\ No newline at end of file \ 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