Files
odoo_source/addons/web/static/src/webclient/barcode/barcode_scanner.xml
T
Romeo Fragomeli 71a3048ec1 [MOV] web: move Barcode scanner to community
Move all file related to Barcode scanner (JS/XML/CSS)

Note: also the CSS class is renamed as it's not related to mobile
exclusively

Part-of: odoo/odoo#100082
2022-09-15 11:05:22 +02:00

14 lines
612 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<templates xml:space="preserve">
<t t-name="web.BarcodeDialog" owl="1">
<Dialog title="'Barcode Scanner'" onClosed="props.onClose" fullscreen="true">
<div class="p-0 d-flex justify-content-center flex-column">
<video t-ref="videoPreview" autoplay="true" playsinline="true" class="" style="max-width: 100%; max-height: 100%;"/>
</div>
<t t-set-slot="buttons">
<button class="btn btn-secondary" t-on-click="props.onClose">Cancel</button>
</t>
</Dialog>
</t>
</templates>