Commit Graph

31 Commits (576c33db48c68cbda109b761109ea9a7dafd1bf3)

Author SHA1 Message Date
Houzéfa Abbasbhay 576c33db48 [IMP] web_timeline: Add demo view on cron tasks
This way we can showcase this module without project_timeline.
2025-04-21 14:00:03 +05:30
Houzéfa Abbasbhay a70871d14f [FIX] web_timeline: Wrap fields_get arg into a list
By contract the first argument of the `fields_get` method is supposed to
be a list. Before this fix, `web_timeline` would call `fields_get` with
a string instead of a list.

Fortunately in case only 1 field is being grouped, this worked as Odoo
does an `x in y` comparison in its `fields_get` implementation, which
does pass in a simple `"project_id" in "project_id"` case.

But that call remains invalid and can break when `fields_get` has been
tweaked by other modules.
2025-04-21 14:00:03 +05:30
Henrik Norlin ea7e109fc0 [FIX] web_timeline: date_delay = date_stop - date_start 2025-04-21 14:00:03 +05:30
Henrik Norlin f6aecb4af6 [FIX] web_timeline: Add record - FormViewDialog - resId: null -> false (cannot be null) 2025-04-21 14:00:03 +05:30
Yadier A. De Quesada 6f7a5d62e7 [FIX] web_timeline: css and styles not charged when rendering timeline
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.

TT43238
2025-04-21 14:00:03 +05:30
anjeel.haria a20b45ad92 [MIG] web_timeline: Migration to 16.0
Syntax changes

Syntax changes
2025-04-21 14:00:03 +05:30
jguenat 491b0f8e15 [FIX] web_timeline: updateProm.finally is not a function
Following odoo#102621 an UncaughtPromiseError > TypeError occured each time an update was triggered in timeline view
Fixed by returning super
2025-04-21 14:00:03 +05:30
CarlosRoca13 385031fe22 [FIX] web_timeline: Allow groupby m2m fields 2025-04-21 14:00:02 +05:30
Cesar Andres Sanchez 3f3e48d491 [MIG] web_timeline: Migration to 15.0 2025-04-21 14:00:02 +05:30
Murtaza Mithaiwala babb8dde5a [FIX] Travis 2025-04-21 14:00:02 +05:30
Alexandre Díaz 5a2816f03e [FIX] web_timeline: Change draw_dependencies 2025-04-21 14:00:02 +05:30
Alexandre Díaz 529e758e83 [IMP] web_timeline: CSS vis items 2025-04-21 14:00:02 +05:30
Thong Nguyen Van 79563a63e4 [MIG] web_timeline: Migration to 13.0 2025-04-21 14:00:02 +05:30
Thong Nguyen Van 62ddec6b2c [IMP] web_timeline: black, isort 2025-04-21 14:00:02 +05:30
denislour 7c0cc8ff7f [12.0][web_timeline] Fix bug from group_order: locale instead locate. 2025-04-21 14:00:02 +05:30
denislour a16512cb92 [12.0][FIX]web_timeline: fix group orders 2025-04-21 14:00:02 +05:30
tarteo 7a0195567c [FIX] web_timeline: Reloading view
[FIX] web_timeline: Reloading view

[FIX] web_timeline: Reloading view
2025-04-21 14:00:02 +05:30
Cyril VINH-TUNG a8902dda41 [web_timeline][IMP] Add margin support in web_timeline (#1135) 2025-04-21 14:00:02 +05:30
Invitu 0ba6a4b056 [IMP] Add stack support 2025-04-21 14:00:02 +05:30
tarteo c72a2795a8 [MIG] web_timeline: Migration to 12.0 2025-04-21 14:00:02 +05:30
Dennis Sluijk 264fa59138 [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
2025-04-21 14:00:02 +05:30
tarteo 95fffe2795 [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
2025-04-21 14:00:02 +05:30
tarteo 550498ef8a [ADD] field_utils to web_timeline
[UPD] Version number

[UPD] README
2025-04-21 14:00:02 +05:30
tarteo 2d2d367698 [IMP] web_timeline: Templates implementation like kanban
[IMP] web_timeline: Templates implementation like kanban

[ADD] Check if template exists

Update README.rst
2025-04-21 14:00:02 +05:30
Dennis Sluijk bf47b5291b [FIX] web_timeline: Make colors attribute optional (#969) 2025-04-21 14:00:02 +05:30
Martin Nicolas Cuesta 43ba7bb5c3 [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
2025-04-21 14:00:02 +05:30
Nicolas PIGANEAU 4c76e245ab Fixed web_timeline.css
CSS classes have changed with the updated version of vis.js
2025-04-21 14:00:02 +05:30
adrien.didenot 1fd14dfa6e [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)
2025-04-21 14:00:02 +05:30
adrien.didenot 82cea9c619 [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>
2025-04-21 14:00:02 +05:30
Thomas Binsfeld 73da1c65a2 [FIX] web_timeline: fix commas in manifest file 2025-04-21 14:00:02 +05:30
Pedro M. Baeza 4ca2be3848 [MIG] web_timeline: Migration to 9.0 2025-04-21 14:00:02 +05:30