From 6451a9eb19509cd1335bd7accd58175cac30edee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20van=20der=20Essen?= Date: Sun, 21 Dec 2014 03:44:53 +0100 Subject: [PATCH] [FIX] point_of_sale: load simple keyboard by default --- addons/point_of_sale/static/src/js/keyboard.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/point_of_sale/static/src/js/keyboard.js b/addons/point_of_sale/static/src/js/keyboard.js index 2abc5af9288..1249810c4ba 100644 --- a/addons/point_of_sale/static/src/js/keyboard.js +++ b/addons/point_of_sale/static/src/js/keyboard.js @@ -5,7 +5,7 @@ openerp.point_of_sale.load_keyboard = function load_keyboard(instance, module){ // A Widget that displays an onscreen keyboard. // There are two options when creating the widget : // - // * 'keyboard_model' : 'simple' | 'full' (default) + // * 'keyboard_model' : 'simple' (default) | 'full' // The 'full' emulates a PC keyboard, while 'simple' emulates an 'android' one. // // * 'input_selector : (default: '.searchbox input') @@ -21,7 +21,7 @@ openerp.point_of_sale.load_keyboard = function load_keyboard(instance, module){ this._super(parent,options); options = options || {}; - this.keyboard_model = options.keyboard_model || 'full'; + this.keyboard_model = options.keyboard_model || 'simple'; if(this.keyboard_model === 'full'){ this.template = 'OnscreenKeyboardFull'; }