Commit 51885781 authored by Aurel's avatar Aurel Committed by Kazuhiko Shiozaki

add batch mode

parent 7f667397
......@@ -146,7 +146,10 @@ for line in line_list:\n
if plan:\n
reversal.plan()\n
\n
return reversal.Base_redirect(\'view\',\n
if batch:\n
return reversal\n
else:\n
return reversal.Base_redirect(\'view\',\n
keep_items=dict(portal_status_message=\n
Base_translateString("Reversal Transaction for ${specific_reference} created.",\n
mapping={\'specific_reference\': specific_reference})))\n
......@@ -154,7 +157,7 @@ return reversal.Base_redirect(\'view\',\n
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>cancellation_amount=False, date=None, plan=False, **kw</string> </value>
<value> <string>cancellation_amount=False, date=None, plan=False, batch=False, **kw</string> </value>
</item>
<item>
<key> <string>id</string> </key>
......
1467
\ No newline at end of file
1468
\ 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