Commit 73d7f04d authored by Jérome Perrin's avatar Jérome Perrin

don't call workflow method if transition is not available

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28078 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent def366df
...@@ -57,6 +57,7 @@ ...@@ -57,6 +57,7 @@
\n \n
# validate rules\n # validate rules\n
for rule in portal.portal_rules.objectValues():\n for rule in portal.portal_rules.objectValues():\n
if rule.getValidationState() != \'validated\':\n
rule.validate()\n rule.validate()\n
\n \n
# open all accounts\n # open all accounts\n
......
130 132
\ 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