[IMP] sidebar in list view: context should be the one of the dataset, allowing context propagation, not

void default context.

bzr revid: tde@openerp.com-20140318102501-pi6qcaz1zbu71tsh
This commit is contained in:
Thibault Delavallée
2014-03-18 11:25:01 +01:00
parent b987405134
commit 1a086bca82
+1 -1
View File
@@ -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