summaryrefslogtreecommitdiff
path: root/addons/website_links/views
diff options
context:
space:
mode:
authorRomain Derie <rde@odoo.com>2019-02-28 14:19:22 +0000
committerRomain Derie <rde@odoo.com>2019-03-11 12:40:32 +0000
commitc78da8a80d687968bab1dcdff8e48ae904a4d1c2 (patch)
treeb4146b821b3902c14f86ca2159faaede9241c107 /addons/website_links/views
parent2b3296bbf8b5d08fad20a4ca8d83ebb0aa7303b3 (diff)
[FIX] website_links: fix multiple bugs + add tests
Commit 6d67ce5b7c refactored the JS from multiple website modules including `website_links`. A few error needed to be fixed: - recent links would not appear anymore - graphs would not be displayed anymore - graph resize on tab change would not be fired This commit fixes it and also add some tests to be sure this module is now strongly tested. Note: tests are skipped for now as there is a race condition happening only with docker and this fix is getting urgent for Odoo.com closes odoo/odoo#31507 Signed-off-by: Romain Derie (rde) <rde@odoo.com>
Diffstat (limited to 'addons/website_links/views')
-rw-r--r--addons/website_links/views/website_links_template.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/website_links/views/website_links_template.xml b/addons/website_links/views/website_links_template.xml
index d69bddf7d63..aca362bc40c 100644
--- a/addons/website_links/views/website_links_template.xml
+++ b/addons/website_links/views/website_links_template.xml
@@ -6,6 +6,7 @@
<script type="text/javascript" src="/website_links/static/src/js/website_links.js"/>
<script type="text/javascript" src="/website_links/static/src/js/website_links_code_editor.js"/>
<script type="text/javascript" src="/website_links/static/src/js/website_links_charts.js"/>
+ <script type="text/javascript" src="/website_links/static/src/js/test_ui_flow.js"/>
<link rel="stylesheet" type="text/css" href="/website_links/static/src/css/website_links.css"/>
</xpath>
</template>