Commit 77be74eb authored by Jérome Perrin's avatar Jérome Perrin

return the payment transaction we created if we are in batch_mode


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@11203 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 04e040ad
...@@ -146,6 +146,8 @@ if not batch_mode:\n ...@@ -146,6 +146,8 @@ if not batch_mode:\n
return context.REQUEST.RESPONSE.redirect(\n return context.REQUEST.RESPONSE.redirect(\n
"%s/view?portal_status_message=%s" % (\n "%s/view?portal_status_message=%s" % (\n
related_payement.absolute_url(), N_(\'Related Payment Created\')))\n related_payement.absolute_url(), N_(\'Related Payment Created\')))\n
else:\n
return related_payment\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
...@@ -215,6 +217,7 @@ if not batch_mode:\n ...@@ -215,6 +217,7 @@ if not batch_mode:\n
<string>line</string> <string>line</string>
<string>account</string> <string>account</string>
<string>None</string> <string>None</string>
<string>related_payment</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
123 124
\ 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