[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:
Xavier Morel
2011-12-06 12:31:41 +01:00
parent 0eab577b40
commit 41e8b3f92c
3 changed files with 10 additions and 7 deletions
+1 -1
View File
@@ -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];