From 02c8da9abbb2309d5674533bd28574bc22941b5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Houz=C3=A9fa=20Abbasbhay?= Date: Wed, 3 Apr 2024 18:30:13 +0200 Subject: [PATCH] [IMP] web_timeline: Align to top instead of bottom This avoids somewhat ugly very large "Unassigned" first row. --- web_timeline/README.rst | 2 +- web_timeline/__manifest__.py | 2 +- web_timeline/static/description/index.html | 2 +- web_timeline/static/src/js/timeline_view.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/web_timeline/README.rst b/web_timeline/README.rst index c3f6d0159..285516b26 100644 --- a/web_timeline/README.rst +++ b/web_timeline/README.rst @@ -7,7 +7,7 @@ Web timeline !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:a85ee9636f4a2040dc7f8c7619f8390c505e3c4df95c49f55a3a86240bdc90d7 + !! source digest: sha256:c8c5da5c7631fad4d64b447787e487826952622707762815d1166990b565fcd0 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png diff --git a/web_timeline/__manifest__.py b/web_timeline/__manifest__.py index 753e2f590..4fb09bfdf 100644 --- a/web_timeline/__manifest__.py +++ b/web_timeline/__manifest__.py @@ -4,7 +4,7 @@ { "name": "Web timeline", "summary": "Interactive visualization chart to show events in time", - "version": "16.0.1.1.1", + "version": "16.0.1.1.2", "development_status": "Production/Stable", "author": "ACSONE SA/NV, " "Tecnativa, " diff --git a/web_timeline/static/description/index.html b/web_timeline/static/description/index.html index 7281077d7..6d389b88f 100644 --- a/web_timeline/static/description/index.html +++ b/web_timeline/static/description/index.html @@ -366,7 +366,7 @@ ul.auto-toc { !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -!! source digest: sha256:a85ee9636f4a2040dc7f8c7619f8390c505e3c4df95c49f55a3a86240bdc90d7 +!! source digest: sha256:c8c5da5c7631fad4d64b447787e487826952622707762815d1166990b565fcd0 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->

Production/Stable License: AGPL-3 OCA/web Translate me on Weblate Try me on Runboat

Define a new view displaying events in an interactive visualization chart.

diff --git a/web_timeline/static/src/js/timeline_view.js b/web_timeline/static/src/js/timeline_view.js index 66acca98a..9d9a5bc50 100644 --- a/web_timeline/static/src/js/timeline_view.js +++ b/web_timeline/static/src/js/timeline_view.js @@ -128,7 +128,7 @@ odoo.define("web_timeline.TimelineView", function (require) { _preapre_vis_timeline_options: function (attrs) { return { groupOrder: "order", - orientation: "both", + orientation: {axis: "both", item: "top"}, selectable: true, multiselect: true, showCurrentTime: true,