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

This commit is contained in:
Dennis Sluijk
2018-06-28 11:45:30 +02:00
committed by Pedro M. Baeza
parent 38a3dda07f
commit 0cefee21dc
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 = [];
}
},