diff --git a/addons/account/static/src/less/account_reconciliation.less b/addons/account/static/src/less/account_reconciliation.less index 66b39301fbb..a8dd669e918 100644 --- a/addons/account/static/src/less/account_reconciliation.less +++ b/addons/account/static/src/less/account_reconciliation.less @@ -39,7 +39,7 @@ clear: both; } - .o_view_nocontent { + .o_view_noreconciliation { max-width: none; padding: 0 10%; color: @odoo-main-color-muted; diff --git a/addons/account/static/src/xml/account_reconciliation.xml b/addons/account/static/src/xml/account_reconciliation.xml index 1969432eb77..13cb9b9e910 100644 --- a/addons/account/static/src/xml/account_reconciliation.xml +++ b/addons/account/static/src/xml/account_reconciliation.xml @@ -30,7 +30,7 @@
Nothing to do!
This page displays all the bank transactions that are to be reconciled and provides with a neat interface to do so.
Good Job! There is nothing to reconcile.
All invoices and payments have been matched, your accounts' balances are clean.
+ Your personal dashboard is empty +
+ To add your first report into this dashboard, go to any + menu, switch to list or graph view, and click "Add to + Dashboard" in the extended search options. +
+ You can filter and group data before inserting into the + dashboard using the search options. +
+- Congratulations, your inbox is empty -
- New messages appear here. -
-- No starred message -
- You can mark any message as 'starred', and it shows up in this channel. -
-Congratulations, your inbox is empty
+New messages appear here.
+No starred message
+You can mark any message as 'starred', and it shows up in this channel.
+These are orders with products invoiced based on ordered quantities, in the case you have delivered more than what was ordered. +
A typical example is the pre-paid hours of service, where you want to sell extra hours to the customer because the initial hours have already been used. 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); } diff --git a/addons/web/static/src/js/views/kanban/kanban_renderer.js b/addons/web/static/src/js/views/kanban/kanban_renderer.js index 6721f6d446c..4236ce74da4 100644 --- a/addons/web/static/src/js/views/kanban/kanban_renderer.js +++ b/addons/web/static/src/js/views/kanban/kanban_renderer.js @@ -301,16 +301,6 @@ var KanbanRenderer = BasicRenderer.extend({ } } }, - /** - * @private - * @override - * adds a specific class to the kanban helper so that it can be targetted by specific css - */ - _renderNoContentHelper: function() { - var $el = this._super.apply(this, arguments); - $el.toggleClass('o_kanban_view_nocontent',true) - return $el; - }, /** * Renders an ungrouped kanban view in a fragment. * diff --git a/addons/web/static/src/js/views/list/list_renderer.js b/addons/web/static/src/js/views/list/list_renderer.js index 601752ce532..e9c9a4d1f76 100644 --- a/addons/web/static/src/js/views/list/list_renderer.js +++ b/addons/web/static/src/js/views/list/list_renderer.js @@ -633,7 +633,6 @@ var ListRenderer = BasicRenderer.extend({ this.pagers = []; var displayNoContentHelper = !this._hasContent() && !!this.noContentHelp; - this.$el.toggleClass('o_view_nocontent_container', displayNoContentHelper); // display the no content helper if there is no data to display if (displayNoContentHelper) { this.$el.html(this._renderNoContentHelper()); diff --git a/addons/web/static/src/less/views.less b/addons/web/static/src/less/views.less index fa50c2e2bd8..aaa75b9156a 100644 --- a/addons/web/static/src/less/views.less +++ b/addons/web/static/src/less/views.less @@ -39,18 +39,11 @@ } // No content helper -.o_view_nocontent_container { - .o-flex-display(); - height: 100%; - padding: 0; -} - .o_view_nocontent { - &.o_kanban_view_nocontent { - .o-position-absolute(20%, 0, 0, 0); - pointer-events: none; - } - + .o-position-absolute(20%, 0, 0, 0); + pointer-events: none; + z-index: 1; + .o_nocontent_help { pointer-events: auto; max-width: 650px; diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index 196346d4d9c..ed9709d2c4c 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -488,8 +488,10 @@
- No data to display -
- Try to add some records, or make sure - that there is at least one measure and no active filter in the search bar. -
++ No data to display +
+ Try to add some records, or make sure + that there is at least one measure and no active filter in the search bar. +
+You'll find here all the carts abandoned by your visitors, if they completed their address. You should send them a recovery email! +
The time to mark a cart as abandoned can be changed in the settings.
@@ -142,6 +143,7 @@You'll find here all the carts abandoned by your visitors, if they completed their address. You should send them a recovery email! +
The time to mark a cart as abandoned can be changed in the settings.