diff options
Diffstat (limited to 'addons/payment/static/src/js/payment_processing.js')
| -rw-r--r-- | addons/payment/static/src/js/payment_processing.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/addons/payment/static/src/js/payment_processing.js b/addons/payment/static/src/js/payment_processing.js index 196e694399e..3497297d665 100644 --- a/addons/payment/static/src/js/payment_processing.js +++ b/addons/payment/static/src/js/payment_processing.js @@ -85,6 +85,10 @@ odoo.define('payment.processing', function (require) { transactions.forEach(function (tx) { var key = 'tx_' + tx.state; if(key in render_values) { + if (tx.acquirer_provider === 'transfer') { + window.location = tx.return_url; + return; + } render_values[key].push(tx); } }); |
