summaryrefslogtreecommitdiff
path: root/addons/pad/static/src
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2017-07-25 13:27:07 +0200
committerAaron Bohy <aab@odoo.com>2017-07-27 10:59:08 +0200
commit3d6420d4b3f062f12d7c18d7d9a976e2299b3444 (patch)
treebce34f977c8c068296f98247b4c0e9ab7069c5f3 /addons/pad/static/src
parent98d3a08ebb38e5943310b5bf8e3847f0afbba02e (diff)
[FIX] web,*: display dashboard panel if no content
*board,crm Before this rev., the dashboard panel (e.g. of the sales team dashboard) wasn't displayed when there were no record to display, whereas it should. Only the nocontent helper was displayed. This was a bug introduced with the new view: the views' controller was in charge to display the renderer (if there were data to display) xor the nocontent helper. As the dashboard panel was rendered by the renderer, it couldn't be displayed alongside the nocontent helper. This rev. moves this logic to the renderer. So now, the controller always contains the renderer, which decides what to render (the data or the nocontent helper). This way, the dashboards can display their panel and the nocontent helper.
Diffstat (limited to 'addons/pad/static/src')
0 files changed, 0 insertions, 0 deletions