diff --git a/addons/point_of_sale/static/src/js/Popups/NumberPopup.js b/addons/point_of_sale/static/src/js/Popups/NumberPopup.js index 385007d5812..0c24b8cb0dd 100644 --- a/addons/point_of_sale/static/src/js/Popups/NumberPopup.js +++ b/addons/point_of_sale/static/src/js/Popups/NumberPopup.js @@ -47,6 +47,11 @@ odoo.define('point_of_sale.NumberPopup', function(require) { return this.state.buffer; } } + confirm(event) { + if (NumberBuffer.get()) { + super.confirm(); + } + } sendInput(key) { this.trigger('numpad-click-input', { key }); }