diff options
| author | Martin Trigaux <mat@odoo.com> | 2019-07-16 08:51:00 +0200 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2019-07-16 09:22:49 +0200 |
| commit | 1bd434da34731b5467cc17fdffe6f3ed5dfea2d4 (patch) | |
| tree | fbdc86c6a19502e3e38d21132c65cf21e20354f4 /addons/payment/controllers | |
| parent | c8d10d228e722e3476e845c58e966ff96cd9f5d7 (diff) | |
| parent | d8072d54acf81f9482145994f6453dd660580be0 (diff) | |
[MERGE] Forward port of saas-11.3 to 12.0 up to d8072d54acf8
Diffstat (limited to 'addons/payment/controllers')
| -rw-r--r-- | addons/payment/controllers/portal.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/payment/controllers/portal.py b/addons/payment/controllers/portal.py index 8b4585b9393..ebe7aef0cc5 100644 --- a/addons/payment/controllers/portal.py +++ b/addons/payment/controllers/portal.py @@ -272,7 +272,7 @@ class WebsitePayment(http.Controller): tx_id = int(kw.get('tx_id', 0)) if tx_id: tx = request.env['payment.transaction'].browse(tx_id) - if tx.state == 'done': + if tx.state in ['done', 'authorized']: status = 'success' message = tx.acquirer_id.done_msg elif tx.state == 'pending': |
