[FIX] correctly send context during graph's fields_get
lp bug: https://launchpad.net/bugs/898636 fixed bzr revid: xmo@openerp.com-20111206113141-nbfxp0jx4lrgo95g
This commit is contained in:
@@ -57,7 +57,7 @@ openerp.web_graph.GraphView = openerp.web.View.extend({
|
||||
});
|
||||
}
|
||||
return $.when(
|
||||
this.dataset.call('fields_get', []),
|
||||
this.dataset.call_and_eval('fields_get', [false, {}], null, 1),
|
||||
loaded)
|
||||
.then(function (fields_result, view_result) {
|
||||
self.fields = fields_result[0];
|
||||
|
||||
Reference in New Issue
Block a user