-
- Downloads
[FIX] pos_adyen: leaving PaymentScreen while paying/cancelling
Before this commit: whenever we left the PaymentScreen when we were paying (either by reloading the page or by backing to the ProductScreen), the real payment status was not properly saved even tho the payment has been paid or cancelled.
With this commit: whenever we go to the PaymentScreen with a pending payment line with Adyen, we fetch the latest status from the back end. This way, the front end will always have the latest status of the payment.
opw-2802676
closes odoo/odoo#88309
Signed-off-by:
Quentin Lejeune (qle) <qle@odoo.com>
Showing
- addons/pos_adyen/static/src/js/PaymentScreen.js 36 additions, 0 deletionsaddons/pos_adyen/static/src/js/PaymentScreen.js
- addons/pos_adyen/static/src/js/models.js 21 additions, 0 deletionsaddons/pos_adyen/static/src/js/models.js
- addons/pos_adyen/static/src/js/payment_adyen.js 29 additions, 19 deletionsaddons/pos_adyen/static/src/js/payment_adyen.js
- addons/pos_adyen/views/point_of_sale_assets.xml 1 addition, 0 deletionsaddons/pos_adyen/views/point_of_sale_assets.xml
Loading
Please register or sign in to comment