summaryrefslogtreecommitdiff
path: root/addons/web_graph/static/src
diff options
context:
space:
mode:
authorGéry Debongnie <ged@odoo.com>2014-09-16 10:11:47 +0200
committerGéry Debongnie <ged@odoo.com>2014-09-16 10:11:47 +0200
commit145690d81b7d7d6e4496a039cdbace5655dfbca0 (patch)
tree2e39e86144346698885b91cb9bf9899189c4f8c2 /addons/web_graph/static/src
parent8fc7cf74fca59cbf176579dd74f2c7fdb3394ae1 (diff)
[FIX] display problem in graph view in some cases
Recently, the graph view was changed to prevent changing groupbys for active custom filters. Unfortunately, I did not take into account the fact that pivot table can be drawn in part when expanding rows. The "frozen" parameter was then undefined and caused display problems, this patch should fix the issue.
Diffstat (limited to 'addons/web_graph/static/src')
-rw-r--r--addons/web_graph/static/src/js/graph_widget.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web_graph/static/src/js/graph_widget.js b/addons/web_graph/static/src/js/graph_widget.js
index 060eb70b514..97a5ad66d4e 100644
--- a/addons/web_graph/static/src/js/graph_widget.js
+++ b/addons/web_graph/static/src/js/graph_widget.js
@@ -389,7 +389,7 @@ openerp.web_graph.Graph = openerp.web.Widget.extend({
var rows = self.build_rows(header.children);
var doc_fragment = $(document.createDocumentFragment());
rows.map(function (row) {
- doc_fragment.append(self.draw_row(row));
+ doc_fragment.append(self.draw_row(row, 0));
});
self.$row_clicked.after(doc_fragment);
} else {