Commit Graph

13 Commits

Author SHA1 Message Date
adrien.didenot
7474004ff4 [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>
2021-03-15 16:24:19 +05:30
adrien.didenot
c1361cf1af [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>
2021-03-15 16:24:19 +05:30
adrien.didenot
e1337baa4c Cosmetic changes (to skip or squash)
Signed-off-by: adrien.didenot <adrien.didenot@horanet.com>
2021-03-15 16:24:19 +05:30
adrien.didenot
23a6db5dfc [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>
2021-03-15 16:24:19 +05:30
Jose M
e170b0823b [10.0] [FIX] [web_timeline] Correct write when grouped by (#678)
* [FIX] Correct write when grouped by

* Remove blank lines

* Minor changes
2021-03-15 16:24:19 +05:30
OCA Transbot
abd605be2d OCA Transbot updated translations from Transifex 2021-03-15 16:24:19 +05:30
OCA Transbot
8318e2fd0f OCA Transbot updated translations from Transifex 2021-03-15 16:24:19 +05:30
Thomas Binsfeld
8b3072b403 [FIX] web_timeline: fix commas in manifest file 2021-03-15 16:24:19 +05:30
Leonardo Donelli
9a0a0cb672 Port web_timeline to v10 2021-03-15 16:24:19 +05:30
Pedro M. Baeza
07fab83284 [MIG] web_timeline: Migration to 9.0 2021-03-15 16:24:19 +05:30
Holger Brunn
e063b81b3e [IMP] web_timeline: add few features 2021-03-15 16:24:19 +05:30
Adrien Peiffer (ACSONE)
c0d9ecf3b9 [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
2021-03-15 16:24:19 +05:30
Laurent Mignon
c0101813aa [IMP] web_timeline: Extracted from incubator 2021-03-15 16:24:19 +05:30