summaryrefslogtreecommitdiff
path: root/addons/payment/static/src/js/payment_form.js
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2018-08-14 19:43:32 +0200
committerChristophe Simonis <chs@odoo.com>2018-08-14 19:43:32 +0200
commitdabe59df9c84d5dbb7109decb193606b8cc2efe0 (patch)
tree412a986b495a3c104b51c60be453dd7b663389fe /addons/payment/static/src/js/payment_form.js
parente08f947abe5dc53768eb20463133c5fef177d816 (diff)
parent27d8daf8a75845fa1e23676b91776a0e0a8b5165 (diff)
[MERGE] forward port branch saas-11.3 up to 27d8daf8a75
Diffstat (limited to 'addons/payment/static/src/js/payment_form.js')
-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 10ddb19ee37..c97da26cd39 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
);
});
}
@@ -180,7 +180,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
);
});
}