From 31d1a62bb38b41f4e40d09dcbc7b65ab7b0d5c9c Mon Sep 17 00:00:00 2001 From: "Lucas Perais (lpe)" Date: Fri, 30 Nov 2018 16:26:15 +0000 Subject: [PATCH] [FIX] point_of_sale: typo in event handler OPW 1914014 closes odoo/odoo#29194 --- addons/point_of_sale/static/src/js/screens.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }