diff --git a/addons/point_of_sale/static/src/js/screens.js b/addons/point_of_sale/static/src/js/screens.js index 15fca79fc3d..e4c742e4ab0 100644 --- a/addons/point_of_sale/static/src/js/screens.js +++ b/addons/point_of_sale/static/src/js/screens.js @@ -842,7 +842,7 @@ var ProductListWidget = PosBaseWidget.extend({ }; this.keypress_product_handler = function(ev){ - if (e.which != 13 && e.which != 32) { + if (ev.which != 13 && ev.which != 32) { // Key is not space or enter return; }