Community mailing list archives

community@mail.odoo.com

Disable some keys of keyboard, using Odoo

by
Sylvain LE GAL
- 09/09/2015 08:52:43
Hi all,

Recently, my users working on PoS (V7 for the time being) asked me to disable some combination of keys. For example, on Chrome, tipping on backspace key will do a history.back in some cases (*), that is quite annoying because in PoS, the current orders will be lost and the user has to wait that PoS was loaded.

So, I developped a little V7 module to disable some keys.

For instance, it is hardcodded : the module disable "backspace" and "F5" keys.

If some people faced to the same problem, I can share into OCA, making the list of keys configurable.

Let me know if you're interested, or if better solution exists.
Thanks for your attention.

Kind regards.

(* some cases is "if the cursor is not focused in a text field")

Sylvain LE GAL
Service informatique
GRAP - Groupement Régional Alimentaire de Proximité

3 Grande rue des Feuillants, 69001 Lyon
Bureau :
(+33) 09.72.32.33.17
Astreinte :
(+33) 06.81.85.61.43

GRAP sur le Web : Site Web | Facebook | Twitter
GRAP - service Informatique sur le Web : Twitter