diff options
| author | Adrien Dieudonne <adr@odoo.com> | 2018-09-17 13:50:39 +0200 |
|---|---|---|
| committer | Adrien Dieudonne <adr@odoo.com> | 2018-09-25 14:04:31 +0200 |
| commit | 1a16f4239bd98174c1ea8511f6a93f942da4e1b0 (patch) | |
| tree | 49f2a2e0027e615a597459f3df87b0880470f881 /addons/im_livechat/data/mail_shortcode_demo.xml | |
| parent | f5a86259f1d5aa3edf429b1760e9dac3bad509d6 (diff) | |
[FIX] web: display empty pie chart for embedded view
Before this commit, every pie chart without any data displayed
the non content helper in the middle of the screen.
This behavior is intended most of the time except for embedded
pie chart (such as in the dashboard views).
Now, an embedded pie chart without any data is rendered and displays
the error message in the middle of it.
We had to render it with nv.d3 to match the size of the other
graph in comparison mode.
Another commit in enterprise will add a test for this fix.
For the moment, embedded empty pie charts are only used on
dasboard views.
Diffstat (limited to 'addons/im_livechat/data/mail_shortcode_demo.xml')
0 files changed, 0 insertions, 0 deletions
