[FIX] web_timeline: Make colors attribute optional (#969)

pull/2378/head
Dennis Sluijk 2018-06-28 11:45:30 +02:00 committed by anjeel.haria
parent 65b3ea1ab6
commit fc2cd4b740
2 changed files with 3 additions and 1 deletions

View File

@ -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, '

View File

@ -148,6 +148,8 @@ odoo.define('web_timeline.TimelineView', function (require) {
'value': temp.expressions[1].value
};
}).value();
} else {
this.colors = [];
}
},