diff options
| author | Alexandre Kühn <aku@odoo.com> | 2018-02-15 17:36:52 +0100 |
|---|---|---|
| committer | Alexandre Kühn <aku@odoo.com> | 2018-02-16 10:23:01 +0100 |
| commit | aa8745f1a811fffd339277ad5a43d3accf86fe34 (patch) | |
| tree | ea670c2e8f7af17d5ab2607b048a05428246cfcb /addons/web/static/src/js/views/graph/graph_renderer.js | |
| parent | 4c186f30c3a77e661f0dfdd39fe2c1216ef1ac7b (diff) | |
[FIX] web,*: various nocontent helper fixes
* account, board, hr_holidays, mail, sale, website_sale
Small fixes on nocontent onboarding screens.
Initial commit: https://github.com/odoo/odoo/commit/a87d761fdbf345ada5dc93e0a686b08a0f5a0417
Details:
- list: centered;
- pivot/graph: centered + empty folder face;
- Dashboard app with nocontent helper;
- Discuss inbox/starred: centered without neutral/smiling faces;
=> no faces because it's too much with animated
rainbow man when emptying the any of the boxes.
- hr_holidays: fixed onboarding screens;
- (technical) dropped obsolete 'o_view_nocontent_container' style;
- manual reconciliation 'nothing to reconcile': centered + inside form sheet;
=> renamed account's o_view_nocontent to o_view_noreconciliation,
so that it doesn't use the style of views.less.
- kanban: nocontent helper above the columns (if any);
- texts "no order to upsell"/"abandonned cart" paragraph split in two.
Diffstat (limited to 'addons/web/static/src/js/views/graph/graph_renderer.js')
| -rw-r--r-- | addons/web/static/src/js/views/graph/graph_renderer.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/addons/web/static/src/js/views/graph/graph_renderer.js b/addons/web/static/src/js/views/graph/graph_renderer.js index 07155e327e3..8ce6ec14aba 100644 --- a/addons/web/static/src/js/views/graph/graph_renderer.js +++ b/addons/web/static/src/js/views/graph/graph_renderer.js @@ -60,7 +60,6 @@ return AbstractRenderer.extend({ * @returns {Deferred} The _super deferred is actually resolved immediately */ _render: function () { - this.$el.toggleClass('o_view_nocontent_container', !this.state.data.length); if (this.to_remove) { nv.utils.offWindowResize(this.to_remove); } |
