Commit 2942361c authored by Jérome Perrin's avatar Jérome Perrin

ignore container state. It is now possible to pass transition even if the...

ignore container state. It is now possible to pass transition even if the packing list is not packed.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21679 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 66af5f62
...@@ -102,7 +102,7 @@ ...@@ -102,7 +102,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>text</string> </key> <key> <string>text</string> </key>
<value> <string>python:(here.getCausalityState() not in (\'building\',\'diverged\')) and (here.getPortalType() != \'Sale Packing List\' or here.getContainerState() == \'packed\')</string> </value> <value> <string>python: here.getCausalityState() not in (\'building\', \'diverged\')</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -103,7 +103,7 @@ ...@@ -103,7 +103,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>text</string> </key> <key> <string>text</string> </key>
<value> <string>python:(here.getCausalityState() not in (\'building\',\'diverged\')) and (here.getPortalType() != \'Sale Packing List\' or here.getContainerState() == \'packed\')</string> </value> <value> <string>python: here.getCausalityState() not in (\'building\', \'diverged\')</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
384 385
\ 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