Browse Source

[REF] Fix lint errors

pull/155/head
x620 8 years ago
committed by Vincent Van Rossem
parent
commit
7abdb0d87b
  1. 2
      pos_keyboard/__openerp__.py
  2. 10
      pos_keyboard/static/src/js/pos.js

2
pos_keyboard/__openerp__.py

@ -11,7 +11,7 @@
"price": 100.00,
"currency": "EUR",
'data': [
'data.xml',
'data.xml',
],
'installable': True,
'auto_install': False,

10
pos_keyboard/static/src/js/pos.js

@ -52,11 +52,11 @@ function pos_keyboard_widgets(instance, module){
bmode: 'qty, disc, price',
sign: '+, -',
backspace: 'backspace'
}
};
this.data = {
type: undefined,
val: undefined
}
};
this.action_callback = undefined;
},
@ -71,7 +71,7 @@ function pos_keyboard_widgets(instance, module){
},
set_action_callback: function(callback){
this.action_callback = callback
this.action_callback = callback;
},
//remove action callback
@ -177,7 +177,7 @@ function pos_keyboard_widgets(instance, module){
// stops catching keyboard events
disconnect: function(){
$('body').off('keyup', '')
$('body').off('keyup', '');
}
});
}
@ -188,5 +188,5 @@ function pos_keyboard_widgets(instance, module){
_super(instance);
var module = instance.point_of_sale;
pos_keyboard_widgets(instance, module);
}
};
})();
Loading…
Cancel
Save