diff options
| author | Martin Trigaux <mat@odoo.com> | 2018-08-20 15:00:03 +0200 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2018-09-14 16:15:43 +0200 |
| commit | 14a9b988f43c01f9726bff68697ba492c5e26efd (patch) | |
| tree | 569b2797e9583176f5a280f3d0761c648390d3c7 /addons/web/static/src/js/fields/basic_fields.js | |
| parent | b83db271354ee8ecabf4a39c96f3a187dd5535d5 (diff) | |
[FIX] web: graph_renderer: check graph data before rendering
cherry pick of 634de21b76b9
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.
opw-1874349
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions
