summaryrefslogtreecommitdiff
path: root/addons/barcodes
diff options
context:
space:
mode:
authorMartin Trigaux <mat@odoo.com>2018-08-02 11:40:09 +0200
committerMartin Trigaux <mat@odoo.com>2018-08-02 11:49:32 +0200
commit8c07fd3c5a369ee5ce7de116c8a453ff710dd8a5 (patch)
tree22eb460e18c8f348cc8535fa97942bb102f40c12 /addons/barcodes
parent9a48f67863db532cd1686eaf1978659591458b5a (diff)
[FIX] barcodes: remove untranslated content
Since 6a3324a7 and 0c489cf1fa, a translation can not contain a \n Previous text was not correct rst anyway. Reexport base translations to include all missing modules
Diffstat (limited to 'addons/barcodes')
-rw-r--r--addons/barcodes/README.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/barcodes/README.rst b/addons/barcodes/README.rst
index 696ab62fbc5..62739b10fe4 100644
--- a/addons/barcodes/README.rst
+++ b/addons/barcodes/README.rst
@@ -106,7 +106,7 @@ The purpose of this component is to listen to keypresses to detect barcodes, the
on core.bus inside a 'barcode_event'.
All keypress events are buffered until there is no more keypress during 50ms or a carriage return / tab is
inputted (because most barcode scanners use this as a suffix).
-If the buffered keys looks like a barcode (match the the regexp /.{3,}[\n\r\t]*), an event is triggered :
+If the buffered keys looks like a barcode, an event is triggered :
core.bus.trigger('barcode_scanned', barcode);
Otherwise, the keypresses are 'resent'. However, for security reasons, a keypress event programmatically
crafted doesn't trigger native browser behaviors. For this reason, BarcodeEvents doesn't intercept keypresses