diff --git a/addons/web/static/src/js/views.js b/addons/web/static/src/js/views.js index 829a6251404..e24de77ea4f 100644 --- a/addons/web/static/src/js/views.js +++ b/addons/web/static/src/js/views.js @@ -1531,7 +1531,7 @@ instance.web.View = instance.web.Widget.extend({ new instance.web.DataExport(this, this.dataset).open(); }, sidebar_eval_context: function () { - return $.when({}); + return $.when(new instance.web.CompoundContext(this.dataset.get_context())); }, /** * Asks the view to reload itself, if the reloading is asynchronous should