Commit 98ce9718 authored by Vincent Pelletier's avatar Vincent Pelletier

As "foo" transitions must not raise (as oposed to "foo_action"), the...

As "foo" transitions must not raise (as oposed to "foo_action"), the now-raising Base_checkOrCreateCheck script must be called at the end of the "before" script called during "foo_action" transition.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13366 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 02f4bb1b
......@@ -158,6 +158,8 @@ elif len(result) == 1:\n
else:\n
msg = Message(domain=\'ui\', message=\'Duplicate checks for the same check number\')\n
raise ValidationFailed, (msg,)\n
\n
context.updateBankingOperation(state_change)\n
]]></string> </value>
......
......@@ -38,7 +38,7 @@
</item>
<item>
<key> <string>after_script_name</string> </key>
<value> <string>updateBankingOperation</string> </value>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
......
102
\ No newline at end of file
104
\ 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