closes odoo/odoo#102150 X-original-commit: c57a0ada02bfc1f02b3516f92f87b510942c5a87 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
13 lines
501 B
XML
13 lines
501 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<templates id="template" xml:space="preserve">
|
|
|
|
<t t-name="barcodes.FloatScannableField" t-inherit="web.FloatField" t-inherit-mode="primary" owl="1">
|
|
<xpath expr="//input" position="attributes">
|
|
<attribute name="t-on-barcode_scanned">onBarcodeScanned</attribute>
|
|
<attribute name="t-att-data-enable-barcode">true</attribute>
|
|
<attribute name="barcode_events">true</attribute>
|
|
</xpath>
|
|
</t>
|
|
|
|
</templates>
|