diff options
| author | Arthur Maniet <arthurmaniet@me.com> | 2015-09-03 11:17:45 +0200 |
|---|---|---|
| committer | Simon Lejeune <sle@openerp.com> | 2015-09-03 11:23:38 +0200 |
| commit | cdb30b507ae7d1cf7205e78e67f693de17bb90d3 (patch) | |
| tree | 427954027107802ad2fc05f8960a2984ad2add34 /addons/project/project_data.xml | |
| parent | 27e237346d686e6a24e3865cb0877ab1ef43078a (diff) | |
[ADD] stock_barcode: field widget with barcodes scan + manual input
Barcodes are detected by catching keypresses. When a keypress is not
part of a barcode, it is 'released' by forging a keypress event.
For security reasons, a non-native keypress doesn't trigger the native
input mechanism. So in order to make both barcode-scanning and manual
keypresses work in a field, it is necessary to have a handler listen
to the 'false' keypresses and simulate the native input behaviour.
Diffstat (limited to 'addons/project/project_data.xml')
0 files changed, 0 insertions, 0 deletions
