flectra/addons/web_diagram/views/web_diagram_templates.xml

24 lines
1.4 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<template id="assets_backend" name="web_diagram assets" inherit_id="web.assets_backend">
<xpath expr="." position="inside">
<link rel="stylesheet" href="/web_diagram/static/src/less/diagram_view.less"/>
<script type="text/javascript" src="/web_diagram/static/src/js/vec2.js"></script>
<script type="text/javascript" src="/web_diagram/static/src/js/graph.js"></script>
<script type="text/javascript" src="/web_diagram/static/src/js/diagram_model.js"></script>
<script type="text/javascript" src="/web_diagram/static/src/js/diagram_controller.js"></script>
<script type="text/javascript" src="/web_diagram/static/src/js/diagram_renderer.js"></script>
<script type="text/javascript" src="/web_diagram/static/src/js/diagram_view.js"></script>
<script type="text/javascript" src="/web_diagram/static/src/js/view_registry.js"></script>
</xpath>
</template>
<template id="qunit_suite" name="web_diagram tests" inherit_id="web.qunit_suite">
<xpath expr="//script[contains(@src, '/web/static/tests/views/kanban_tests.js')]" position="after">
<script type="text/javascript" src="/web_diagram/static/tests/diagram_tests.js"></script>
</xpath>
</template>
</data>
</odoo>