summaryrefslogtreecommitdiff
path: root/addons/payment/static
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2018-08-14 18:59:57 +0200
committerChristophe Simonis <chs@odoo.com>2018-08-14 18:59:57 +0200
commit27d8daf8a75845fa1e23676b91776a0e0a8b5165 (patch)
tree694cd02026146755eaa49051f2e75a0839bee38c /addons/payment/static
parent4f69be7eadbcde6d9f65427877e29b17e5b19bfe (diff)
parent51225c9b9f20c59eac1cd2ac117f9899ee76e391 (diff)
[MERGE] forward port branch 11.0 up to 51225c9b9f2
Diffstat (limited to 'addons/payment/static')
-rw-r--r--addons/payment/static/src/js/payment_form.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/payment/static/src/js/payment_form.js b/addons/payment/static/src/js/payment_form.js
index 372e8ba233d..72aa70c88b6 100644
--- a/addons/payment/static/src/js/payment_form.js
+++ b/addons/payment/static/src/js/payment_form.js
@@ -134,7 +134,7 @@ odoo.define('payment.payment_form', function (require) {
self.displayError(
_t('Server Error'),
_t("We are not able to add your payment method at the moment.") +
- data.data.message
+ message.data.message
);
});
}
@@ -179,7 +179,7 @@ odoo.define('payment.payment_form', function (require) {
self.displayError(
_t('Server Error'),
_t("We are not able to redirect you to the payment form. ") +
- data.data.message
+ message.data.message
);
});
}