diff --git a/addons/web/static/src/js/view_pivot.js b/addons/web/static/src/js/view_pivot.js index 0d39661fca8..8dbfb3360e1 100644 --- a/addons/web/static/src/js/view_pivot.js +++ b/addons/web/static/src/js/view_pivot.js @@ -63,7 +63,7 @@ instance.web.PivotView = instance.web.View.extend({ var self = this; this.$table_container = this.$('.o-pivot-table'); - var load_fields = this.model.call('fields_get', []) + var load_fields = this.model.call('fields_get', [], {context: this.dataset.get_context()}) .then(this.prepare_fields.bind(this)); return $.when(this._super(), load_fields).then(this.render_buttons.bind(this)).then(function(){