summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/base.xml
diff options
context:
space:
mode:
authorArthur Maniet <arthurmaniet@me.com>2015-09-01 13:30:08 +0200
committerArthur Maniet <arthurmaniet@me.com>2015-09-01 13:30:08 +0200
commit1c1d3855e4fa9f3f37b16b5d4a7a8dc5392579bb (patch)
tree0c8394a62515628acebb42f733e5fa600597e574 /addons/web/static/src/xml/base.xml
parentc62ecdbd68d9162cf564a681a7423cf6c8835675 (diff)
parent17e2526667cd45199fc541c719f5a700c9d289e0 (diff)
[MERGE] web/barcodes: add backend barcode scanning tools
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
-rw-r--r--addons/web/static/src/xml/base.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index c79d9fc1f86..428a12db511 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -666,6 +666,7 @@
<span t-att-class="'oe_form_field '+widget.widget_class" t-att-style="widget.node.attrs.style">
<t t-if="!widget.get('effective_readonly')">
<input t-att-type="widget.password ? 'password' : 'text'"
+ t-att-barcode_events="widget.options.barcode_events"
t-att-id="widget.id_for_label"
t-att-tabindex="widget.node.attrs.tabindex"
t-att-autofocus="widget.node.attrs.autofocus"
@@ -820,6 +821,7 @@
class="oe_m2o_cm_button fa fa-external-link" draggable="false"/>
<div>
<input type="text"
+ t-att-barcode_events="widget.options.barcode_events"
t-att-id="widget.id_for_label"
t-att-tabindex="widget.node.attrs.tabindex"
t-att-autofocus="widget.node.attrs.autofocus"