diff options
| author | Christophe Simonis <chs@odoo.com> | 2014-09-26 12:53:59 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2014-09-26 12:53:59 +0200 |
| commit | e2e60bf4eb89d92e883e8520771523c1c0377fd3 (patch) | |
| tree | c471997732b938ea4dac37340862dfe668fc1a0c /addons/web_graph/static/src/js/graph_view.js | |
| parent | 4b8b2e8dfe3147beb5ab7c333269c2874eda5267 (diff) | |
| parent | fe8106fb85c5b0ba8d59fd95f44cde6379c3dec5 (diff) | |
[MERGE] forward port of branch saas-3 up to fe8106f
Diffstat (limited to 'addons/web_graph/static/src/js/graph_view.js')
| -rw-r--r-- | addons/web_graph/static/src/js/graph_view.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/addons/web_graph/static/src/js/graph_view.js b/addons/web_graph/static/src/js/graph_view.js index 8ae99849bab..646a730b51b 100644 --- a/addons/web_graph/static/src/js/graph_view.js +++ b/addons/web_graph/static/src/js/graph_view.js @@ -85,6 +85,8 @@ instance.web_graph.GraphView = instance.web.View.extend({ measures = groupbys.measures; if (!this.graph_widget) { + this.widget_config.context = _.clone(context); + this.widget_config.context.group_by_no_leaf = true; if (group_by.length) { this.widget_config.row_groupby = group_by; } |
