summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/graph
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2017-11-24 08:46:12 +0100
committerAaron Bohy <aab@odoo.com>2017-12-04 08:05:46 +0100
commit5fd72753c632b76b97a3653f3ad2bafa0e2cd7f3 (patch)
tree8163e59a56c3672818575047ffe37112e2b06673 /addons/web/static/src/js/views/graph
parentc6a3f2b3b66502e03e493cff6c301b3c38c74306 (diff)
[FIX] web(_diagram): set viewType on views
The attibute was correctly set on form, list and kanban views, but not on the other ones. It wasn't really used until now, so it wasn't a big deal.
Diffstat (limited to 'addons/web/static/src/js/views/graph')
-rw-r--r--addons/web/static/src/js/views/graph/graph_view.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/web/static/src/js/views/graph/graph_view.js b/addons/web/static/src/js/views/graph/graph_view.js
index a5ad21e1816..44e1f74e8da 100644
--- a/addons/web/static/src/js/views/graph/graph_view.js
+++ b/addons/web/static/src/js/views/graph/graph_view.js
@@ -32,6 +32,7 @@ var GraphView = AbstractView.extend({
Controller: Controller,
Renderer: GraphRenderer,
},
+ viewType: 'graph',
/**
* @override
*/