diff options
| author | Thibault Delavallée <tde@odoo.com> | 2019-08-26 13:23:38 +0000 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2019-08-26 13:33:26 +0000 |
| commit | cab25b690cd9541801e553a9f50512d2db126647 (patch) | |
| tree | 3e0a713de131f1457487794697bd7b66b228af6d /addons/payment_authorize/static/src | |
| parent | bee50c42849928fcc23be9f3850c50abd3c434d4 (diff) | |
[FIX] payment: fix error management in payment form
PURPOSE
Test frontend and UI tools of eLearning.
SPECIFICATIONS
Recent commit 5193f0d010f5cd3bf4ccc5c7e39aff3fdacdd111 introduced a tool method to parse errors and ease
their management. A variable typo was done by mistake, fixed in this commit.
LINKS
Task ID 1937768
closes odoo/odoo#36085
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/payment_authorize/static/src')
| -rw-r--r-- | addons/payment_authorize/static/src/js/payment_form.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/payment_authorize/static/src/js/payment_form.js b/addons/payment_authorize/static/src/js/payment_form.js index d5d02a696c7..aab561066d7 100644 --- a/addons/payment_authorize/static/src/js/payment_form.js +++ b/addons/payment_authorize/static/src/js/payment_form.js @@ -78,7 +78,7 @@ PaymentForm.include({ self.displayError( _t('Server Error'), _t("We are not able to add your payment method at the moment.") + - this._parseError(error) + self._parseError(error) ); }); }; |
