Files
odoo_source/addons/barcodes/views/barcodes_templates.xml
T
Akash Bhavsar b131e9b0ef [FIX] barcodes: fix several issues when scanning barcodes
Since the new views, most of the barcodes feature was
broken. This commit re-enables the support of commands like
'edit', 'save', 'cancel', 'previous' and 'next'.

Also changed javascript event handler to jquery event handler to
make barcodes testable in phantomjs.
2017-08-25 15:54:56 +02:00

20 lines
946 B
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="assets_backend" name="barcodes assets" inherit_id="web.assets_backend">
<xpath expr="." position="inside">
<script type="text/javascript" src="/barcodes/static/src/js/barcode_parser.js"></script>
<script type="text/javascript" src="/barcodes/static/src/js/barcode_events.js"></script>
<script type="text/javascript" src="/barcodes/static/src/js/barcode_form_view.js"></script>
<script type="text/javascript" src="/barcodes/static/src/js/barcode_field.js"></script>
</xpath>
</template>
<template id="qunit_suite" name="barcode_tests" inherit_id="web.qunit_suite">
<xpath expr="//t[@t-set='head']" position="inside">
<script type="text/javascript" src="/barcodes/static/tests/barcode_tests.js"/>
</xpath>
</template>
</odoo>