diff options
| author | Thibault Delavallée <tde@openerp.com> | 2014-03-18 11:25:01 +0100 |
|---|---|---|
| committer | Thibault Delavallée <tde@openerp.com> | 2014-03-18 11:25:01 +0100 |
| commit | 1a086bca821df7fa95fb00d6a6474061cd444926 (patch) | |
| tree | 6f665df2250f17c54ac54cd593be5c6ee9dcc532 /addons/web/static/src | |
| parent | b987405134e09aeacabbeeeb3edbdf3fe64ce065 (diff) | |
[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
Diffstat (limited to 'addons/web/static/src')
| -rw-r--r-- | addons/web/static/src/js/views.js | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
