As we now have a new debug mode 'tests' which load a new asset bundle containing tour-test files, we moved those files to a new folder hierarchy. That will clean the .js files trees. Also, those files should be included in the new asset. Basically, the .js tour files (not test) should be inside /static/src/js/tours while .js tour test files (test=true) should be inside /static/tests/tours next to QUnit tests, inside a tours folder. + test_new_api: don't run the test in debug assets task-1934445 Comes with https://github.com/odoo/enterprise/pull/4281 Closes #33213
26 lines
1.2 KiB
XML
26 lines
1.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<data>
|
|
|
|
<template id="assets_frontend" name="Website Form Assets Frontend" inherit_id="website.assets_frontend">
|
|
<xpath expr="." position="inside">
|
|
<link rel="stylesheet" type="text/scss" href="/website_form/static/src/scss/website_form.scss"/>
|
|
<script type="text/javascript" src="/website_form/static/src/js/website_form.js"/>
|
|
</xpath>
|
|
</template>
|
|
|
|
<template id="assets_editor" name="Website Form Editor Assets Editor" inherit_id="website.assets_editor">
|
|
<xpath expr="." position="inside">
|
|
<script type="text/javascript" src="/website_form/static/src/js/website_form_editor.js"/>
|
|
<script type="text/javascript" src="/website_form/static/src/js/website_form_editor_registry.js"/>
|
|
</xpath>
|
|
</template>
|
|
|
|
<template id="assets_tests" name="Website Form Assets Tests" inherit_id="web.assets_tests">
|
|
<xpath expr="." position="inside">
|
|
<script type="text/javascript" src="/website_form/static/tests/tours/website_form_editor.js"/>
|
|
</xpath>
|
|
</template>
|
|
</data>
|
|
</odoo>
|