summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/pivot/pivot_renderer.js
diff options
context:
space:
mode:
Diffstat (limited to 'addons/web/static/src/js/views/pivot/pivot_renderer.js')
-rw-r--r--addons/web/static/src/js/views/pivot/pivot_renderer.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/addons/web/static/src/js/views/pivot/pivot_renderer.js b/addons/web/static/src/js/views/pivot/pivot_renderer.js
index 29c3424e141..f2d2d24bea8 100644
--- a/addons/web/static/src/js/views/pivot/pivot_renderer.js
+++ b/addons/web/static/src/js/views/pivot/pivot_renderer.js
@@ -77,7 +77,10 @@ var PivotRenderer = AbstractRenderer.extend({
_render: function () {
if (!this._hasContent()) {
// display the nocontent helper
- this._replaceElement(QWeb.render('PivotView.nodata'));
+ this._replaceElement(QWeb.render('View.NoContentHelper', {
+ description: _t("Try to add some records, or make sure that there is at least " +
+ "one measure and no active filter in the search bar."),
+ }));
return this._super.apply(this, arguments);
}