Commit Graph

12 Commits (f2449dbe5491e87ccfce3b7025fecc7bbf03f268)

Author SHA1 Message Date
Nicolas PIGANEAU 1050f1eba2 Fixed web_timeline.css
CSS classes have changed with the updated version of vis.js
2017-11-30 10:00:12 +01:00
adrien.didenot 5f3ff1de5d [IMP] change the option to initialize the timeline window on display.
Change the attribute 'default_window' to 'mode' like the Odoo calendar view (to be iso functional)
2017-11-20 09:57:04 +01:00
adrien.didenot ea82165639 [IMP] Add an option to initialize the timeline window on display.
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>
2017-09-28 17:33:00 +02:00
adrien.didenot b0219bb219 [Fix OCA/project#317] Add the property date_delay to TimeLine views (same as base Calendar view)
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>
2017-09-28 17:28:17 +02:00
adrien.didenot 0c6cb5dff3 Cosmetic changes (to skip or squash)
Signed-off-by: adrien.didenot <adrien.didenot@horanet.com>
2017-09-27 14:12:18 +02:00
adrien.didenot 56cb7b53ec [10.0][IMP] web_timeline improvements:
* 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>
2017-09-27 14:09:37 +02:00
Jose M e17f516cc0 [10.0] [FIX] [web_timeline] Correct write when grouped by (#678)
* [FIX] Correct write when grouped by

* Remove blank lines

* Minor changes
2017-08-17 13:35:33 +02:00
Leonardo Donelli 7d7d1852de Port web_timeline to v10 2017-05-22 14:13:24 +02:00
Pedro M. Baeza 7f05878fe4 [MIG] web_timeline: Migration to 9.0 2017-05-22 14:13:24 +02:00
Holger Brunn f2fd0f8d6b [IMP] web_timeline: add few features 2017-05-22 14:13:24 +02:00
Adrien Peiffer (ACSONE) c5a3567765 [IMP] web_timeline: Several improvements:
* Avoid to display all items of group_by model
* Remove unnecessary readgroup
* Remove dependency on project. Modify module structure. Imporve readme file.
* Add setup.py
2017-05-22 14:13:24 +02:00
Laurent Mignon f70d9e10cd [IMP] web_timeline: Extracted from incubator 2017-05-22 14:13:24 +02:00