Commit 7777122f authored by Aurel's avatar Aurel

call updateBankingOperation in transition not from script

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13930 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent db1dc9c0
......@@ -146,8 +146,6 @@ for check_operation_line in transaction.contentValues(filter = {\'portal_type\'
else:\n
msg = Message(domain=\'ui\', message="Duplicated checks for the same check number.")\n
raise ValidationFailed, (msg,)\n
\n
context.updateBankingOperation(state_change)\n
]]></string> </value>
......
......@@ -35,7 +35,7 @@
</item>
<item>
<key> <string>after_script_name</string> </key>
<value> <string></string> </value>
<value> <string>updateBankingOperation</string> </value>
</item>
<item>
<key> <string>description</string> </key>
......@@ -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>
......
137
\ No newline at end of file
139
\ 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