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
return context.REQUEST.RESPONSE.redirect(\n
"%s/view?portal_status_message=%s" % (\n
related_payement.absolute_url(), N_(\'Related Payment Created\')))\n
else:\n
return related_payment\n
</string> </value>
</item>
<item>
......@@ -215,6 +217,7 @@ if not batch_mode:\n
<string>line</string>
<string>account</string>
<string>None</string>
<string>related_payment</string>
</tuple>
</value>
</item>
......
123
\ No newline at end of file
124
\ 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