Browse Source

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

pull/1090/head
Dennis Sluijk 7 years ago
committed by tarteo
parent
commit
3a513e4901
  1. 2
      web_timeline/__manifest__.py
  2. 2
      web_timeline/static/src/js/timeline_view.js

2
web_timeline/__manifest__.py

@ -4,7 +4,7 @@
{ {
'name': "Web timeline", 'name': "Web timeline",
'summary': "Interactive visualization chart to show events in time", '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, ' 'author': 'ACSONE SA/NV, '
'Tecnativa, ' 'Tecnativa, '
'Monk Software, ' 'Monk Software, '

2
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': temp.expressions[1].value
}; };
}).value(); }).value();
} else {
this.colors = [];
} }
}, },

Loading…
Cancel
Save