diff options
| author | Lucas Perais (lpe) <lpe@odoo.com> | 2018-11-30 16:26:15 +0000 |
|---|---|---|
| committer | Lucas Perais (lpe) <lpe@odoo.com> | 2018-11-30 16:26:15 +0000 |
| commit | 31d1a62bb38b41f4e40d09dcbc7b65ab7b0d5c9c (patch) | |
| tree | bad530888a7eae69d3c0583a4c59e05d20bd1e16 /addons | |
| parent | 52a6b1e3af61eece1683a2b704a1bc1c929861c0 (diff) | |
[FIX] point_of_sale: typo in event handler
OPW 1914014
closes odoo/odoo#29194
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/point_of_sale/static/src/js/screens.js | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |
