diff options
| author | Nans Lefebvre <len@odoo.com> | 2019-03-13 09:41:17 +0000 |
|---|---|---|
| committer | Nans Lefebvre <len@odoo.com> | 2019-03-15 14:56:19 +0000 |
| commit | fc1389f8d881adfb94ea1b784fb7104b9eee5d2d (patch) | |
| tree | fc615ff4140f2626205ba4d415db3227d27f2e77 /doc/reference | |
| parent | d7ca0357f39f0c33ced2ed61374f863b1c37d207 (diff) | |
[FIX] payment: provide missing return_url in values
Render from payment//payment_acquirer.py promises:
All templates will receive:
'feedback_url', 'return_url', 'cancel_url', 'error_url'
However they are all in -> FIXME.
After 6 years in FIXME, this promise is still a lie.
It is unfortunate since the Adyen payment provider requires 'return_url' to work.
Before, this function was called by _get_shop_payment_values,
which provided a value for it.
We copy the value that was given there directly as a default in render,
so that it doesn't crash no matter what method calls it.
opw 1928918
opw 1944142
closes odoo/odoo#31814
Signed-off-by: Nans Lefebvre (len) <len@odoo.com>
Diffstat (limited to 'doc/reference')
0 files changed, 0 insertions, 0 deletions
