summaryrefslogtreecommitdiff
path: root/addons/document/static/src/js/document.js
diff options
context:
space:
mode:
authorAdrien Dieudonne <adr@odoo.com>2018-08-17 15:34:04 +0200
committerAdrien Dieudonne <adr@odoo.com>2018-08-20 16:10:25 +0200
commit634de21b76b925f2c2624a8c5c8ec9d3e9d9540b (patch)
tree5ba3d31dbcb6a7423afc206d5f631bcde49e4b67 /addons/document/static/src/js/document.js
parent21430a4d027f9b3e5a83b078477a77bdb17e61a0 (diff)
[FIX] web: graph_renderer: check graph data before rendering
Before this commit, we had two different errors when data was unavailable: The first one is generated by Odoo: "No data to display, try to[...]" The second one is generated by nvd3: "No Data Available". We always want the same message. So now, we always make some checks before rendering the graph by calling _render.
Diffstat (limited to 'addons/document/static/src/js/document.js')
0 files changed, 0 insertions, 0 deletions