odoo18/addons/barcodes/static/src/float_scannable_field.xml

13 lines
493 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">
<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>