Community mailing list archives

community@mail.odoo.com

Re: Disable some keys of keyboard, using Odoo

by
Skillteam, Houssine BAKKALI
- 09/09/2015 09:21:07
Hi Sylvain,

For me it's a must have. I mean having a configurable way of disable some shortkey!

so +1

2015-09-09 15:02 GMT+02:00 Sylvain LE GAL <sylvain.legal@grap.coop>:
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

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe