diff --git a/addons/point_of_sale/static/src/js/Screens/PaymentScreen/PaymentScreen.js b/addons/point_of_sale/static/src/js/Screens/PaymentScreen/PaymentScreen.js index 5aa8e2f9d14..32ed47e058a 100644 --- a/addons/point_of_sale/static/src/js/Screens/PaymentScreen/PaymentScreen.js +++ b/addons/point_of_sale/static/src/js/Screens/PaymentScreen/PaymentScreen.js @@ -75,7 +75,7 @@ odoo.define('point_of_sale.PaymentScreen', function (require) { } _updateSelectedPaymentline() { if (this.paymentLines.every((line) => line.paid)) { - this.currentOrder.add_paymentline(this.env.pos.payment_methods[0]); + this.currentOrder.add_paymentline(this.payment_methods_from_config[0]); } if (!this.selectedPaymentLine) return; // do nothing if no selected payment line // disable changing amount on paymentlines with running or done payments on a payment terminal