With the new views, the barcode mechanisms were completely broken, because the view and widget JS code was totally changed. This commit update and refactor all that code to make it work with the new design philosophy. Also, it update the coding style.
14 lines
659 B
XML
14 lines
659 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>
|
|
|
|
</odoo>
|