Browse Source

fix

pull/155/head
ufaks 8 years ago
committed by Vincent Van Rossem
parent
commit
c2add4b584
  1. 3
      pos_keyboard/__openerp__.py
  2. 9
      pos_keyboard/static/src/js/pos.js

3
pos_keyboard/__openerp__.py

@ -3,10 +3,9 @@
'name': "Keyboard support in Point Of Sale",
'author': "IT-Projects LLC, Ivan Yelizariev",
'summary': 'Module allows to use usual keyboard (not virtual one) in Point of Sale',
"website": "https://www.it-projects.info",
"website": "https://it-projects.info",
'images': ['images/keyboard.png'],
'category': 'Point Of Sale',
'license': 'LGPL-3',
'version': '1.0.1',
'depends': ['point_of_sale'],
'data': [

9
pos_keyboard/static/src/js/pos.js

@ -158,12 +158,7 @@ function pos_keyboard_widgets(instance, module){
else if (token == KC_BACKSPACE) {
self.data.type = type.backspace;
ok = true;
}
else {
self.data.type = undefined;
self.data.val = undefined;
ok = false;
}
}
if (is_number) {
if (timeStamp + 50 > new Date().getTime()) {
@ -194,4 +189,4 @@ function pos_keyboard_widgets(instance, module){
var module = instance.point_of_sale;
pos_keyboard_widgets(instance, module);
}
})();
})();
Loading…
Cancel
Save