Commit Graph

20 Commits

Author SHA1 Message Date
tarteo
10dbbc78d8 [MIG] web_timeline: Migration to 12.0 2020-03-30 19:20:32 +02:00
Dennis Sluijk
d3395e0c6c [ADD] Enable multiselect
[IMP] Prevent flickering

[IMP] Fixed headers

[ADD] Create new record by date range selection

Remove roadmap item from readme

[FIX] minimal height
2020-03-30 19:20:32 +02:00
tarteo
e4bd98fa3f [ADD] web_timeline: New dependency_arrow attribute
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
2020-03-30 19:20:32 +02:00
tarteo
a545422e66 [ADD] field_utils to web_timeline
[UPD] Version number

[UPD] README
2020-03-30 19:20:32 +02:00
tarteo
0f5fc97256 [IMP] web_timeline: Templates implementation like kanban
[IMP] web_timeline: Templates implementation like kanban

[ADD] Check if template exists

Update README.rst
2020-03-30 19:20:32 +02:00
Dennis Sluijk
12c7b2aa87 [FIX] web_timeline: Make colors attribute optional (#969) 2020-03-30 19:20:32 +02:00
Martin Nicolas Cuesta
8b94e5ffec [FIX] Missing GroupClick Functionality 2020-03-30 19:20:32 +02:00
Martin Nicolas Cuesta
c8e0a98df0 [MIG] web_timeline module from v10 to v11
* Update Version in Manifest
* Remove enconding in .py files
* Rewrite the view definition according to version 11
2020-03-30 19:20:32 +02:00
Nicolas PIGANEAU
bb2c00d162 Fixed web_timeline.css
CSS classes have changed with the updated version of vis.js
2020-03-30 19:20:32 +02:00
adrien.didenot
0e73a6e5ac [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)
2020-03-30 19:20:32 +02:00
adrien.didenot
3805ca1947 [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>
2020-03-30 19:20:32 +02:00
adrien.didenot
2149547149 [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>
2020-03-30 19:20:32 +02:00
adrien.didenot
70da4d9946 Cosmetic changes (to skip or squash)
Signed-off-by: adrien.didenot <adrien.didenot@horanet.com>
2020-03-30 19:20:32 +02:00
adrien.didenot
90b2ad75b7 [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>
2020-03-30 19:20:32 +02:00
Jose M
03834d61f4 [10.0] [FIX] [web_timeline] Correct write when grouped by (#678)
* [FIX] Correct write when grouped by

* Remove blank lines

* Minor changes
2020-03-30 19:20:32 +02:00
Leonardo Donelli
36cfd9b8f5 Port web_timeline to v10 2020-03-30 19:20:32 +02:00
Pedro M. Baeza
4d57cf41ff [MIG] web_timeline: Migration to 9.0 2020-03-30 19:20:32 +02:00
Holger Brunn
4049b0abc3 [IMP] web_timeline: add few features 2020-03-30 19:20:32 +02:00
Adrien Peiffer (ACSONE)
c30c01cffa [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
2020-03-30 19:20:32 +02:00
Laurent Mignon
bab7e31f43 [IMP] web_timeline: Extracted from incubator 2020-03-30 19:20:32 +02:00