summaryrefslogtreecommitdiff
path: root/addons/mail
diff options
context:
space:
mode:
authorJulien Mougenot <jum@odoo.com>2020-04-09 12:50:23 +0000
committerJulien Mougenot <jum@odoo.com>2020-04-09 14:59:54 +0000
commited38c2adb85a7cb62fda4c2db21a3cad9d84a420 (patch)
tree786ddd5a4b87dbc21e0ae9ac42ec2868c793e2dd /addons/mail
parent26570b0701cf2d184b6f36bdd8885587f7939c9d (diff)
[FIX] web: flatten t-call-assets in test assets bundle
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>
Diffstat (limited to 'addons/mail')
-rw-r--r--addons/mail/views/mail_templates.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mail/views/mail_templates.xml b/addons/mail/views/mail_templates.xml
index 195d8e2f799..9dfdf06f608 100644
--- a/addons/mail/views/mail_templates.xml
+++ b/addons/mail/views/mail_templates.xml
@@ -103,7 +103,7 @@
</xpath>
</template>
- <template id="js_test_assets" name="mail_js_test_assets" inherit_id="web.js_tests_assets">
+ <template id="tests_assets" name="mail_tests_assets" inherit_id="web.tests_assets">
<xpath expr="." position="inside">
<script type="text/javascript" src="/mail/static/tests/helpers/mock_server.js"></script>
<script type="text/javascript" src="/mail/static/tests/helpers/test_utils.js"></script>