[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user