Browse Source

fix bugs

pull/155/head
ufaks 9 years ago
committed by Vincent Van Rossem
parent
commit
5b3267efb1
  1. 2
      pos_keyboard/README.rst
  2. 5
      pos_keyboard/__openerp__.py
  3. 9
      pos_keyboard/doc/changelog.rst
  4. 2
      pos_keyboard/static/src/js/pos.js

2
pos_keyboard/README.rst

@ -4,6 +4,8 @@ Module allows to use usual keyboard (not virtual one) in Point of Sale.
Usage: Usage:
------ ------
Using keys below switch to mode you need. Qty mode is used by default.
Then use number keys to enter quantity, price or discount.
=========== ===================== ================= =========== ===================== =================

5
pos_keyboard/__openerp__.py

@ -2,9 +2,10 @@
{ {
'name': "Keyboard support in Point Of Sale", 'name': "Keyboard support in Point Of Sale",
'author': "IT-Projects LLC, Ivan Yelizariev", 'author': "IT-Projects LLC, Ivan Yelizariev",
"website" : "https://yelizariev.github.io",
'summary': 'Module allows to use usual keyboard (not virtual one) in Point of Sale',
"website": "https://yelizariev.github.io",
'images': ['images/keyboard.png'], 'images': ['images/keyboard.png'],
'category' : 'Point Of Sale',
'category': 'Point Of Sale',
'version': '1.0.0', 'version': '1.0.0',
'depends': ['point_of_sale'], 'depends': ['point_of_sale'],
'data': [ 'data': [

9
pos_keyboard/doc/changelog.rst

@ -0,0 +1,9 @@
.. _changelog:
Changelog
=========
`1.0.1`
-------
- Fix barcode scanner bug

2
pos_keyboard/static/src/js/pos.js

@ -7,7 +7,7 @@ function pos_keyboard_widgets(instance, module){
res = resSuper.done(function(e){ res = resSuper.done(function(e){
self.pos.keypad.connect(); self.pos.keypad.connect();
self.pos.keypad.set_action_callback(function(data){ self.pos.keypad.set_action_callback(function(data){
self.keypad_action(data, self.pos.keypad.type);
self.keypad_action(data, self.pos.keypad.type);
}); });
}); });
return res; return res;

Loading…
Cancel
Save