3
0
Fork 0
Commit Graph

14 Commits (bbee362cd11d9974ec01dfc51ebe719460cdbbdd)

Author SHA1 Message Date
Houzéfa Abbasbhay 907aa64876
[IMP] web_timeline: Follow create/edit/delete attrs
In addition to security rights (was already implemented), now follow
`create="0"` / `edit="0"` / `delete="0"` attributes one can set onto the
`timeline` tag, same as in other Odoo views.
2024-09-27 10:38:29 +02:00
Houzéfa Abbasbhay 98bc9851e6
[IMP] web_timeline: Overflow text, add hover colors
When an item label does not fit in its date-range box, overflow
according to
https://visjs.github.io/vis-timeline/examples/timeline/items/rangeOverflowItem.html

Previous CSS code was already trying to do that, but was selecting
`.vis-item.vis-item-content` instead of `.vis-item .vis-item-content`.

Displaying overflow text brings up layout issues solved by removing the
forced-100% width instruction.

This change also adds highlight when hovering a box, which is useful on
text that has overflown (as it has no borders).
2024-04-04 09:41:03 +02:00
Houzéfa Abbasbhay 8f4fd737d0
[IMP] web_timeline: Add demo view on cron tasks
This way we can showcase this module without project_timeline.
2024-04-02 16:19:43 +02:00
Houzéfa Abbasbhay bc577b6656
[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.
2024-04-02 16:04:35 +02:00
anjeel.haria 995e9e8af7 [MIG] web_timeline: Migration to 16.0
Syntax changes

Syntax changes
2023-03-01 16:03:37 +01:00
CarlosRoca13 07ef036e00 [FIX] web_timeline: Allow groupby m2m fields 2023-03-01 15:51:01 +01:00
Cesar Andres Sanchez 6faeeb54ba [MIG] web_timeline: Migration to 15.0 2023-03-01 15:51:01 +01:00
Murtaza Mithaiwala d4272e106a [14.0][MIG] Migrated web_timeline. 2023-03-01 15:51:01 +01:00
Alexandre Díaz 54706cb673 [MIG] web_timeline: Finish migration to 13.0 2023-03-01 15:51:01 +01:00
Thong Nguyen Van 18267a7cc2 [MIG] web_timeline: Migration to 13.0 2023-03-01 15:51:01 +01:00
Cyril VINH-TUNG ffca9cfd2a [web_timeline][IMP] Add margin support in web_timeline (#1135) 2023-03-01 15:51:01 +01:00
invitu 29373a9951 [FIX] web_timeline: fix readme - To be squashed with previous one on migration (#1137) 2023-03-01 15:51:01 +01:00
tarteo 1ff07bbecd [IMP] Readme: Available attribute list 2023-03-01 15:51:01 +01:00
tarteo 51eabbcd89 [MIG] web_timeline: Migration to 12.0 2023-03-01 15:51:01 +01:00