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 ...@@ -146,7 +146,10 @@ for line in line_list:\n
if plan:\n if plan:\n
reversal.plan()\n reversal.plan()\n
\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 keep_items=dict(portal_status_message=\n
Base_translateString("Reversal Transaction for ${specific_reference} created.",\n Base_translateString("Reversal Transaction for ${specific_reference} created.",\n
mapping={\'specific_reference\': specific_reference})))\n mapping={\'specific_reference\': specific_reference})))\n
...@@ -154,7 +157,7 @@ return reversal.Base_redirect(\'view\',\n ...@@ -154,7 +157,7 @@ return reversal.Base_redirect(\'view\',\n
</item> </item>
<item> <item>
<key> <string>_params</string> </key> <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>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
......
1467 1468
\ 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