Skip to content
Snippets Groups Projects
Commit 52a517ca authored by Loan (lse)'s avatar Loan (lse)
Browse files

[FIX] pos_adyen: JS error in loop if deleted Adyen payment line


Before this commit:
 If we remove a payment line using an Adyen payment method,
 `pending_adyen_line()` return `undefined`.
 With the `_poll_for_response` still being executed,
 it will pop some JS traceback each call with:
 ```js
 TypeError: Cannot read properties of undefined (reading 'terminalServiceId')
 ```

After this commit:
 No JS traceback loop

OPW-3032391

closes odoo/odoo#105716

Signed-off-by: default avatarQuentin Lejeune (qle) <qle@odoo.com>
parent 9d6db3af
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment