diff options
| author | fda-odoo <fda@odoo.com> | 2017-12-18 13:47:39 +0100 |
|---|---|---|
| committer | fda-odoo <fda@odoo.com> | 2018-01-24 15:30:59 +0100 |
| commit | f62b31caf3011e50e357db7fa6c93612fa412de5 (patch) | |
| tree | 6e90f528d06f6f22de758400e2b94934a7a568c5 /addons/website_quote/controllers/main.py | |
| parent | 2ba6301d341400003298370b643f724eec822f06 (diff) | |
[FIX/IMP] account,account_payment,sale,sale_payment: add a payment notification message for user who are coming back in Odoo after a payment (like in online quotations & e-commerce)
WARNING: To avoid breaking any configuration in stable (11.0), the template payment_confirmation_status has been replicated in each module.
They must be removed before a forward-port in master
Diffstat (limited to 'addons/website_quote/controllers/main.py')
| -rw-r--r-- | addons/website_quote/controllers/main.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/website_quote/controllers/main.py b/addons/website_quote/controllers/main.py index e29d6be9cbf..5656a610272 100644 --- a/addons/website_quote/controllers/main.py +++ b/addons/website_quote/controllers/main.py @@ -79,6 +79,7 @@ class sale_quote(http.Controller): 'tx_id': Transaction.id if Transaction else False, 'tx_state': Transaction.state if Transaction else False, 'tx_post_msg': Transaction.acquirer_id.post_msg if Transaction else False, + 'payment_tx': Transaction, 'need_payment': order_sudo.invoice_status == 'to invoice' and Transaction.state in ['draft', 'cancel', 'error'], 'token': token, 'return_url': '/shop/payment/validate', |
