-
- Downloads
[FIX] website_links: fix multiple bugs + add tests
Commit 6d67ce5b 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>
Showing
- addons/website_links/static/src/js/test_ui_flow.js 82 additions, 0 deletionsaddons/website_links/static/src/js/test_ui_flow.js
- addons/website_links/static/src/js/website_links.js 3 additions, 2 deletionsaddons/website_links/static/src/js/website_links.js
- addons/website_links/static/src/js/website_links_charts.js 11 additions, 7 deletionsaddons/website_links/static/src/js/website_links_charts.js
- addons/website_links/tests/__init__.py 3 additions, 0 deletionsaddons/website_links/tests/__init__.py
- addons/website_links/tests/test_ui.py 18 additions, 0 deletionsaddons/website_links/tests/test_ui.py
- addons/website_links/views/website_links_template.xml 1 addition, 0 deletionsaddons/website_links/views/website_links_template.xml
Loading
Please register or sign in to comment