Before this commit, the test assets were called with a `t-call-assets` and contained themselves some other `t-call-assets` to the back-end assets. According to the current specification, having nested `t-call-assets` will result in a compilation of the lower levels regardless of the current debugging mode. Now, the test bundles (desktop & mobile) have been arranged so that their `t-call-assets` are all called on the same level. closes odoo/odoo#49306 Related: odoo/enterprise#9797 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
60 lines
2.8 KiB
XML
60 lines
2.8 KiB
XML
<openerp>
|
|
<data>
|
|
<template id="assets_backend" name="im_support_backend assets" inherit_id="web.assets_backend">
|
|
<xpath expr="." position="inside">
|
|
<link rel="stylesheet" href="/im_support/static/src/scss/systray.scss" type="text/scss"/>
|
|
|
|
<script type="text/javascript" src="/im_support/static/src/js/mail_manager.js"></script>
|
|
<script type="text/javascript" src="/im_support/static/src/js/discuss.js"></script>
|
|
<script type="text/javascript" src="/im_support/static/src/js/thread_window.js"></script>
|
|
<script type="text/javascript" src="/im_support/static/src/js/support_bus.js"></script>
|
|
<script type="text/javascript" src="/im_support/static/src/js/support_channel.js"></script>
|
|
<script type="text/javascript" src="/im_support/static/src/js/support_message.js"></script>
|
|
<script type="text/javascript" src="/im_support/static/src/js/support_session.js"></script>
|
|
<script type="text/javascript" src="/im_support/static/src/js/systray_messaging_menu.js"></script>
|
|
</xpath>
|
|
</template>
|
|
|
|
<template id="qunit_suite" name="im_support_tests" inherit_id="web.qunit_suite_tests">
|
|
<xpath expr="." position="inside">
|
|
<script type="text/javascript" src="/im_support/static/tests/helpers/test_utils.js"></script>
|
|
<script type="text/javascript" src="/im_support/static/tests/systray_no_support_tests.js"></script>
|
|
</xpath>
|
|
</template>
|
|
|
|
<template id="qunit_mobile_suite" name="im_support_mobile_tests" inherit_id="web.qunit_mobile_suite_tests">
|
|
<xpath expr="." position="inside">
|
|
<script type="text/javascript" src="/im_support/static/tests/helpers/test_utils.js"></script>
|
|
</xpath>
|
|
</template>
|
|
|
|
<template id="im_support.support_qunit_suite">
|
|
<t t-call="web.layout">
|
|
<t t-set="html_data" t-value="{'style': 'height: 100%;'}"/>
|
|
<t t-set="title">IM Support Tests</t>
|
|
<t t-set="head">
|
|
<script type="text/javascript">
|
|
odoo.session_info = {
|
|
support_token: 'ABCDEFGHIJ',
|
|
support_origin: 'https://something.com'
|
|
};
|
|
</script>
|
|
<t t-call-assets="web.assets_common" t-js="false"/>
|
|
<t t-call-assets="web.assets_backend" t-js="false"/>
|
|
<t t-call-assets="web.assets_common" t-css="false"/>
|
|
<t t-call-assets="web.assets_backend" t-css="false"/>
|
|
|
|
<t t-call-assets="web.tests_assets" t-js="false"/>
|
|
<t t-call-assets="web.tests_assets" t-css="false"/>
|
|
|
|
<script type="text/javascript" src="/im_support/static/tests/helpers/test_utils.js"></script>
|
|
<script type="text/javascript" src="/im_support/static/tests/systray_tests.js"></script>
|
|
</t>
|
|
|
|
<div id="qunit"/>
|
|
<div id="qunit-fixture"/>
|
|
</t>
|
|
</template>
|
|
</data>
|
|
</openerp>
|