summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/graph/graph_view.js
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2019-08-29 16:45:15 +0200
committerChristophe Simonis <chs@odoo.com>2019-08-29 16:45:15 +0200
commit8bd6a93c74de7aa68b0a85cc6132aa22975462d8 (patch)
treeaf6334a048dd1e2c03f3a937c03feacc5b462efd /addons/web/static/src/js/views/graph/graph_view.js
parent3d6e91789968719c726420554d25b25f81282a55 (diff)
parentede253f1b2edbd10a1df3991438262a4a47059c1 (diff)
[MERGE] forward port branch saas-11.3 up to ede253f1b2e
Diffstat (limited to 'addons/web/static/src/js/views/graph/graph_view.js')
-rw-r--r--addons/web/static/src/js/views/graph/graph_view.js3
1 files changed, 3 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 a55da16c6da..ca6c5bdf44c 100644
--- a/addons/web/static/src/js/views/graph/graph_view.js
+++ b/addons/web/static/src/js/views/graph/graph_view.js
@@ -53,6 +53,9 @@ var GraphView = AbstractView.extend({
this.arch.children.forEach(function (field) {
var fieldName = field.attrs.name;
+ if (fieldName === "id") {
+ return;
+ }
var interval = field.attrs.interval;
if (interval) {
intervalMapping[fieldName] = interval;