On library version update a new feature was added at Timeline creation level to
allow modifying the xss. By keeping it active the css classes are not showed
As the view is on backend, has no sense to keep it active. So we deactivate the
feature to allow show the timeline correctly.
TT40299
fix wrong time used when creating new record
on record creation timeline view was reloaded and all items disappeared
fix by removing unnecessary reload
Fix bug #2266: before this fix, the lines of the timeline view were always sorted by alphabetical order, ignoring the native order of the model on which the group_by field points to.
Fix duplicate entries in the 'fields' argument when the 'colors' parameters uses the same field in multiple conditions.
Update README.rst
[FIX] Remove console.log
[ADD] Make timeline.fit optional
[FIX] Use stringified points
[IMP] Reversed the arrow head and fixed lint issues
[IMP] Use options parameter for line color and width
[FIX] Version number
[IMP] Minor improvements
The default window display all the events (aka 'fit'), in case of events spread over the year, the events are invisibles (too small to be readable)
Signed-off-by: adrien.didenot <adrien.didenot@horanet.com>
In Odoo calendar view, the attribute date_delay is an alternative to date_stop, to provides the duration of the event instead of its end date.
This commit integrate this attribute to the Timeline view, but contrary to the base Calendar view the Timeline view could use both arguments (date_stop and date_delay) simultaneously.
Signed-off-by: adrien.didenot <adrien.didenot@horanet.com>
* Update the vis.js framework to latest stable version (v4.20.1) to add new functionality and save almost
400ko of source code in odoo assets (the vis dev team has isolate the code for timeline widget from the
rest of their widgets)
* Add the possibility to display events with no duration (instantaneous) as the same time has regular events
* Add the possibility to choose between two scroll mode :
- zoom in time resolution (default)
or
- vertical scroll (web browser default behaviour)
Signed-off-by: adrien.didenot <adrien.didenot@horanet.com>