projects
/
odoo
/
odoo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[MERGE] forward port of branch saas-3 up to fe8106f
[odoo/odoo.git]
/
addons
/
web_graph
/
static
/
src
/
js
/
graph_view.js
diff --git
a/addons/web_graph/static/src/js/graph_view.js
b/addons/web_graph/static/src/js/graph_view.js
index
8ae9984
..
646a730
100644
(file)
--- 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;
}