[FIX] fix the graphview field selection

searchview has been split in two parts, and the inputs are now located
in the drawer
This commit is contained in:
Géry Debongnie
2014-05-20 16:18:03 +02:00
parent 7c6c720425
commit cc64d1d318
@@ -86,7 +86,7 @@ openerp.web_graph.Graph = openerp.web.Widget.extend({
get_search_fields: function () {
var self = this;
var groupbygroups = _(this.search_view.inputs).select(function (g) {
var groupbygroups = _(this.search_view.drawer.inputs).select(function (g) {
return g instanceof openerp.web.search.GroupbyGroup;
});