From 0cefee21dc6695b7307b9b419e9cd5b98a3d3bc5 Mon Sep 17 00:00:00 2001 From: Dennis Sluijk Date: Thu, 28 Jun 2018 11:45:30 +0200 Subject: [PATCH] [FIX] web_timeline: Make colors attribute optional (#969) --- web_timeline/__manifest__.py | 2 +- web_timeline/static/src/js/timeline_view.js | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/web_timeline/__manifest__.py b/web_timeline/__manifest__.py index 165410d5..1ecd04b7 100644 --- a/web_timeline/__manifest__.py +++ b/web_timeline/__manifest__.py @@ -4,7 +4,7 @@ { 'name': "Web timeline", 'summary': "Interactive visualization chart to show events in time", - "version": "11.0.1.0.0", + "version": "11.0.1.0.1", 'author': 'ACSONE SA/NV, ' 'Tecnativa, ' 'Monk Software, ' diff --git a/web_timeline/static/src/js/timeline_view.js b/web_timeline/static/src/js/timeline_view.js index 1832b9ef..3d34beab 100644 --- a/web_timeline/static/src/js/timeline_view.js +++ b/web_timeline/static/src/js/timeline_view.js @@ -148,6 +148,8 @@ odoo.define('web_timeline.TimelineView', function (require) { 'value': temp.expressions[1].value }; }).value(); + } else { + this.colors = []; } },