mirror of
https://github.com/odoo/runbot.git
synced 2025-03-16 16:05:42 +07:00
![]() Since the frontend_assets are loaded with `defer="defer"`, the page sometimes fail with the message: ``` stats.js:212 Uncaught ReferenceError: Chart is not defined at updateChart (stats.js:212) at stats.js:158 at XMLHttpRequest.xhttp.onreadystatechange (stats.js:53) ``` This commit checks that Chart is available before tring to render the graph. Thanks to @kebeclibre for the help. |
||
---|---|---|
.. | ||
controllers | ||
data | ||
documentation/images | ||
migrations | ||
models | ||
security | ||
static/src | ||
templates | ||
tests | ||
views | ||
wizards | ||
__init__.py | ||
__manifest__.py | ||
common.py | ||
container.py | ||
fields.py |