From 4ebc422c3d00c45ff28334549acf1fc44ad712a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Denny=20Mor=C3=A1n?= Date: Thu, 12 Mar 2026 16:02:58 -0500 Subject: [PATCH 1/6] [FIX] web_responsive: remove invalid hotkey prop from DropdownItem In Odoo 18.0, the DropdownItem component no longer accepts a hotkey prop. Passing it causes an OWL crash: Invalid props for component 'DropdownItem': unknown key 'hotkey' This error appears in mobile mode when accessing form views that have status bar action buttons (e.g. scheduled actions). The template extension only added the invalid hotkey attribute and had no other content, so the file is removed entirely. Fixes https://github.com/OCA/web/issues/3467 --- .../static/src/views/form/status_bar_buttons.xml | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 web_responsive/static/src/views/form/status_bar_buttons.xml diff --git a/web_responsive/static/src/views/form/status_bar_buttons.xml b/web_responsive/static/src/views/form/status_bar_buttons.xml deleted file mode 100644 index fa8ec79a25a1..000000000000 --- a/web_responsive/static/src/views/form/status_bar_buttons.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - 'shift+a' - - - From ec1f41f703879ae7876ae8dfc0dbcded16a86ff6 Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Fri, 13 Mar 2026 07:31:50 +0000 Subject: [PATCH 2/6] [BOT] post-merge updates --- README.md | 2 +- web_responsive/README.rst | 2 +- web_responsive/__manifest__.py | 2 +- web_responsive/static/description/index.html | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 0e0fb6916652..b8d5bb778f12 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ addon | version | maintainers | summary [web_quick_start_screen](web_quick_start_screen/) | 18.0.1.0.0 | | Configurable start screen for quick actions [web_refresher](web_refresher/) | 18.0.1.0.0 | | Web Refresher [web_remember_tree_column_width](web_remember_tree_column_width/) | 18.0.1.0.2 | frahikLV luisg123v cuongnmtm | Remember the tree columns' widths across sessions. -[web_responsive](web_responsive/) | 18.0.1.0.3 | Tardo SplashS | Responsive web client, community-supported +[web_responsive](web_responsive/) | 18.0.1.0.4 | Tardo SplashS | Responsive web client, community-supported [web_save_discard_button](web_save_discard_button/) | 18.0.1.0.1 | synconics | Save & Discard Buttons [web_search_with_and](web_search_with_and/) | 18.0.1.0.1 | | Use AND conditions on omnibar search [web_send_message_popup](web_send_message_popup/) | 18.0.1.0.0 | | Web Send Message as Popup diff --git a/web_responsive/README.rst b/web_responsive/README.rst index e8e14b5b21e5..c8ed4a053318 100644 --- a/web_responsive/README.rst +++ b/web_responsive/README.rst @@ -11,7 +11,7 @@ Web Responsive !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:16d44365d3fcfb364f693484828773cf3a29416878b4a1668adb218f59e6672f + !! source digest: sha256:7c1f9b7598d98d74b9c4611ac248b18279c68ef2cbcd20661173827416219e17 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png diff --git a/web_responsive/__manifest__.py b/web_responsive/__manifest__.py index 87d0d8b739c4..c7761639ec30 100644 --- a/web_responsive/__manifest__.py +++ b/web_responsive/__manifest__.py @@ -9,7 +9,7 @@ { "name": "Web Responsive", "summary": "Responsive web client, community-supported", - "version": "18.0.1.0.3", + "version": "18.0.1.0.4", "category": "Website", "website": "https://github.com/OCA/web", "author": "LasLabs, Tecnativa, ITerra, Onestein, " diff --git a/web_responsive/static/description/index.html b/web_responsive/static/description/index.html index 57c2d3546304..e01f688b4bb9 100644 --- a/web_responsive/static/description/index.html +++ b/web_responsive/static/description/index.html @@ -372,7 +372,7 @@

Web Responsive

!! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -!! source digest: sha256:16d44365d3fcfb364f693484828773cf3a29416878b4a1668adb218f59e6672f +!! source digest: sha256:7c1f9b7598d98d74b9c4611ac248b18279c68ef2cbcd20661173827416219e17 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->

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

This module adds responsiveness to web backend.

From 6390cd426f5bf4b80f9a1b7f791a5956572a6921 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bet=C3=BCl=20=C3=96=C4=9Fmen?= Date: Tue, 17 Mar 2026 08:09:27 +0000 Subject: [PATCH 3/6] Added translation using Weblate (Turkish) --- web_notify/i18n/tr.po | 117 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 117 insertions(+) create mode 100644 web_notify/i18n/tr.po diff --git a/web_notify/i18n/tr.po b/web_notify/i18n/tr.po new file mode 100644 index 000000000000..c13c902fcc5b --- /dev/null +++ b/web_notify/i18n/tr.po @@ -0,0 +1,117 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * web_notify +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 18.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: tr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" + +#. module: web_notify +#. odoo-python +#: code:addons/web_notify/models/res_users.py:0 +msgid "Danger" +msgstr "" + +#. module: web_notify +#. odoo-python +#: code:addons/web_notify/models/res_users.py:0 +msgid "Default" +msgstr "" + +#. module: web_notify +#. odoo-python +#: code:addons/web_notify/models/res_users.py:0 +msgid "Information" +msgstr "" + +#. module: web_notify +#: model:ir.model.fields,field_description:web_notify.field_res_users__notify_danger_channel_name +msgid "Notify Danger Channel Name" +msgstr "" + +#. module: web_notify +#: model:ir.model.fields,field_description:web_notify.field_res_users__notify_default_channel_name +msgid "Notify Default Channel Name" +msgstr "" + +#. module: web_notify +#: model:ir.model.fields,field_description:web_notify.field_res_users__notify_info_channel_name +msgid "Notify Info Channel Name" +msgstr "" + +#. module: web_notify +#: model:ir.model.fields,field_description:web_notify.field_res_users__notify_success_channel_name +msgid "Notify Success Channel Name" +msgstr "" + +#. module: web_notify +#: model:ir.model.fields,field_description:web_notify.field_res_users__notify_warning_channel_name +msgid "Notify Warning Channel Name" +msgstr "" + +#. module: web_notify +#. odoo-javascript +#: code:addons/web_notify/static/src/js/services/notification_services.esm.js:0 +msgid "Open" +msgstr "" + +#. module: web_notify +#. odoo-python +#: code:addons/web_notify/models/res_users.py:0 +msgid "Sending a notification to another user is forbidden." +msgstr "" + +#. module: web_notify +#. odoo-python +#: code:addons/web_notify/models/res_users.py:0 +msgid "Success" +msgstr "" + +#. module: web_notify +#: model_terms:ir.ui.view,arch_db:web_notify.view_users_form_simple_modif_inherit +msgid "Test danger notification" +msgstr "" + +#. module: web_notify +#: model_terms:ir.ui.view,arch_db:web_notify.view_users_form_simple_modif_inherit +msgid "Test default notification" +msgstr "" + +#. module: web_notify +#: model_terms:ir.ui.view,arch_db:web_notify.view_users_form_simple_modif_inherit +msgid "Test info notification" +msgstr "" + +#. module: web_notify +#: model_terms:ir.ui.view,arch_db:web_notify.view_users_form_simple_modif_inherit +msgid "Test success notification" +msgstr "" + +#. module: web_notify +#: model_terms:ir.ui.view,arch_db:web_notify.view_users_form_simple_modif_inherit +msgid "Test warning notification" +msgstr "" + +#. module: web_notify +#: model_terms:ir.ui.view,arch_db:web_notify.view_users_form_simple_modif_inherit +msgid "Test web notify" +msgstr "" + +#. module: web_notify +#: model:ir.model,name:web_notify.model_res_users +msgid "User" +msgstr "" + +#. module: web_notify +#. odoo-python +#: code:addons/web_notify/models/res_users.py:0 +msgid "Warning" +msgstr "" From 5dc2d9b793afbe1604adbd3ecaa73347bc289908 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Houz=C3=A9fa=20Abbasbhay?= Date: Thu, 30 Jan 2025 09:34:36 +0100 Subject: [PATCH 4/6] [IMP] web_timeline: Safer demo view action override Append our view_mode this way to avoid overwriting changes done by other modules. --- web_timeline/demo/ir_cron_view.xml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/web_timeline/demo/ir_cron_view.xml b/web_timeline/demo/ir_cron_view.xml index 6a646fd1e613..d429da405ea1 100644 --- a/web_timeline/demo/ir_cron_view.xml +++ b/web_timeline/demo/ir_cron_view.xml @@ -8,7 +8,12 @@ - - list,form,calendar,timeline - + + + + + From 50ef26eb720a9247a7f9dda04ee82b9e3a117490 Mon Sep 17 00:00:00 2001 From: Simone Rubino Date: Wed, 18 Feb 2026 11:42:32 +0100 Subject: [PATCH 5/6] [IMP] web_timeline: Allow to select in action's view_ids --- web_timeline/README.rst | 152 ++++++++++++--------- web_timeline/demo/ir_cron_view.xml | 10 +- web_timeline/models/__init__.py | 1 + web_timeline/models/ir_actions.py | 8 ++ web_timeline/readme/CONTRIBUTORS.md | 2 + web_timeline/static/description/index.html | 150 +++++++++++--------- 6 files changed, 194 insertions(+), 129 deletions(-) create mode 100644 web_timeline/models/ir_actions.py diff --git a/web_timeline/README.rst b/web_timeline/README.rst index cce294ad60be..d34aa1262bf9 100644 --- a/web_timeline/README.rst +++ b/web_timeline/README.rst @@ -1,7 +1,3 @@ -.. image:: https://odoo-community.org/readme-banner-image - :target: https://odoo-community.org/get-involved?utm_source=readme - :alt: Odoo Community Association - ============ Web timeline ============ @@ -11,13 +7,13 @@ Web timeline !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:0f2b205ffa4ec5cdb7da811ce10e275be9c373e021299b3cb40d86d547b6760c + !! source digest: sha256:586ccf4825edfb382dd5389e2508df4f093ffd42a73db2bc1eca29e1f0a9c29c !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png :target: https://odoo-community.org/page/development-status :alt: Production/Stable -.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github @@ -49,64 +45,88 @@ Configuration You need to define a view with the tag as base element. These are the possible attributes for the tag: -+------------------+-----------+--------------------------------------------------------+ -| Attribute | Required? | Description | -+==================+===========+========================================================+ -| date_start | **Yes** | Defines the name of the field of type date that | -| | | contains the start of the event. | -+------------------+-----------+--------------------------------------------------------+ -| date_stop | No | Defines the name of the field of type date that | -| | | contains the end of the event. The date_stop can be | -| | | equal to the attribute date_start to display events | -| | | has 'point' on the Timeline (instantaneous event). | -+------------------+-----------+--------------------------------------------------------+ -| date_delay | No | Defines the name of the field of type float/integer | -| | | that contain the duration in hours of the event, | -| | | default = 1. | -+------------------+-----------+--------------------------------------------------------+ -| default_group_by | **Yes** | Defines the name of the field that will be taken as | -| | | default group by when accessing the view or when no | -| | | other group by is selected. | -+------------------+-----------+--------------------------------------------------------+ -| zoomKey | No | Specifies whether the Timeline is only zoomed when an | -| | | additional key is down. Available values are '' (does | -| | | not apply), 'altKey', 'ctrlKey', or 'metaKey'. Set | -| | | this option if you want to be able to use the scroll | -| | | to navigate vertically on views with a lot of events. | -+------------------+-----------+--------------------------------------------------------+ -| mode | No | Specifies the initial visible window. Available values | -| | | are: 'day' to display the current day, 'week', 'month' | -| | | and 'fit'. Default value is 'fit' to adjust the | -| | | visible window such that it fits all items. | -+------------------+-----------+--------------------------------------------------------+ -| margin | No | Specifies the margins around the items. It should | -| | | respect the JSON format. For example | -| | | '{"item":{"horizontal":-10}}'. Available values are: | -| | | '{"axis":}' (The minimal margin in pixels | -| | | between items and the time axis) '{"item":}' | -| | | (The minimal margin in pixels between items in both | -| | | horizontal and vertical direction), | -| | | '{"item":{"horizontal":}}' (The minimal | -| | | horizontal margin in pixels between items), | -| | | '{"item":{"vertical":}}' (The minimal vertical | -| | | margin in pixels between items), | -| | | '{"item":{"horizontal":,"vertical":}}' | -| | | (Combination between horizontal and vertical margins | -| | | in pixels between items). | -+------------------+-----------+--------------------------------------------------------+ -| event_open_popup | No | When set to true, it allows to edit the events in a | -| | | popup. If not (default value), the record is edited | -| | | changing to form view. | -+------------------+-----------+--------------------------------------------------------+ -| stack | No | When set to false, items will not be stacked on top of | -| | | each other such that they do overlap. | -+------------------+-----------+--------------------------------------------------------+ -| colors | No | Allows to set certain specific colors if the expressed | -| | | condition (JS syntax) is met. | -+------------------+-----------+--------------------------------------------------------+ -| dependency_arrow | No | Set this attribute to a x2many field to draw arrows | -| | | between the records referenced in the x2many field. | -+------------------+-----------+--------------------------------------------------------+ ++------------------+-----------+-------------------------------------+ +| Attribute | Required? | Description | ++==================+===========+=====================================+ +| date_start | **Yes** | Defines the name of the field of | +| | | type date that contains the start | +| | | of the event. | ++------------------+-----------+-------------------------------------+ +| date_stop | No | Defines the name of the field of | +| | | type date that contains the end of | +| | | the event. The date_stop can be | +| | | equal to the attribute date_start | +| | | to display events has 'point' on | +| | | the Timeline (instantaneous event). | ++------------------+-----------+-------------------------------------+ +| date_delay | No | Defines the name of the field of | +| | | type float/integer that contain the | +| | | duration in hours of the event, | +| | | default = 1. | ++------------------+-----------+-------------------------------------+ +| default_group_by | **Yes** | Defines the name of the field that | +| | | will be taken as default group by | +| | | when accessing the view or when no | +| | | other group by is selected. | ++------------------+-----------+-------------------------------------+ +| zoomKey | No | Specifies whether the Timeline is | +| | | only zoomed when an additional key | +| | | is down. Available values are '' | +| | | (does not apply), 'altKey', | +| | | 'ctrlKey', or 'metaKey'. Set this | +| | | option if you want to be able to | +| | | use the scroll to navigate | +| | | vertically on views with a lot of | +| | | events. | ++------------------+-----------+-------------------------------------+ +| mode | No | Specifies the initial visible | +| | | window. Available values are: 'day' | +| | | to display the current day, 'week', | +| | | 'month' and 'fit'. Default value is | +| | | 'fit' to adjust the visible window | +| | | such that it fits all items. | ++------------------+-----------+-------------------------------------+ +| margin | No | Specifies the margins around the | +| | | items. It should respect the JSON | +| | | format. For example | +| | | '{"item":{"horizontal":-10}}'. | +| | | Available values are: | +| | | '{"axis":}' (The minimal | +| | | margin in pixels between items and | +| | | the time axis) '{"item":}' | +| | | (The minimal margin in pixels | +| | | between items in both horizontal | +| | | and vertical direction), | +| | | '{"item":{"horizontal":}}' | +| | | (The minimal horizontal margin in | +| | | pixels between items), | +| | | '{"item":{"vertical":}}' | +| | | (The minimal vertical margin in | +| | | pixels between items), | +| | | '{"item":{"horizont | +| | | al":,"vertical":}}' | +| | | (Combination between horizontal and | +| | | vertical margins in pixels between | +| | | items). | ++------------------+-----------+-------------------------------------+ +| event_open_popup | No | When set to true, it allows to edit | +| | | the events in a popup. If not | +| | | (default value), the record is | +| | | edited changing to form view. | ++------------------+-----------+-------------------------------------+ +| stack | No | When set to false, items will not | +| | | be stacked on top of each other | +| | | such that they do overlap. | ++------------------+-----------+-------------------------------------+ +| colors | No | Allows to set certain specific | +| | | colors if the expressed condition | +| | | (JS syntax) is met. | ++------------------+-----------+-------------------------------------+ +| dependency_arrow | No | Set this attribute to a x2many | +| | | field to draw arrows between the | +| | | records referenced in the x2many | +| | | field. | ++------------------+-----------+-------------------------------------+ Optionally you can declare a custom template, which will be used to render the timeline items. You have to name the template @@ -286,6 +306,10 @@ Contributors - Houzéfa Abbasbhay +- `PyTech `__: + + - Simone Rubino + Maintainers ----------- diff --git a/web_timeline/demo/ir_cron_view.xml b/web_timeline/demo/ir_cron_view.xml index d429da405ea1..40c22f0ed108 100644 --- a/web_timeline/demo/ir_cron_view.xml +++ b/web_timeline/demo/ir_cron_view.xml @@ -13,7 +13,15 @@ diff --git a/web_timeline/models/__init__.py b/web_timeline/models/__init__.py index 7b1f92fd1962..ee2e0b418c6b 100644 --- a/web_timeline/models/__init__.py +++ b/web_timeline/models/__init__.py @@ -1,5 +1,6 @@ # Copyright 2016 ACSONE SA/NV () # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +from . import ir_actions from . import ir_ui_view from . import ir_action diff --git a/web_timeline/models/ir_actions.py b/web_timeline/models/ir_actions.py new file mode 100644 index 000000000000..e28da517ac95 --- /dev/null +++ b/web_timeline/models/ir_actions.py @@ -0,0 +1,8 @@ +# Copyright 2026 Simone Rubino - PyTech +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from odoo.addons.base.models.ir_actions import VIEW_TYPES + +from .ir_ui_view import TIMELINE_VIEW + +VIEW_TYPES.append(TIMELINE_VIEW) diff --git a/web_timeline/readme/CONTRIBUTORS.md b/web_timeline/readme/CONTRIBUTORS.md index 1d540e0155df..5a53372da435 100644 --- a/web_timeline/readme/CONTRIBUTORS.md +++ b/web_timeline/readme/CONTRIBUTORS.md @@ -15,3 +15,5 @@ - Anjeel Haria - [XCG Consulting](https://xcg-consulting.fr): - Houzéfa Abbasbhay +- [PyTech](https://www.pytech.it): + - Simone Rubino \<\> diff --git a/web_timeline/static/description/index.html b/web_timeline/static/description/index.html index f6b8761ad491..cb66238feba7 100644 --- a/web_timeline/static/description/index.html +++ b/web_timeline/static/description/index.html @@ -3,7 +3,7 @@ -README.rst +Web timeline -
+
+

Web timeline

- - -Odoo Community Association - -
-

Web timeline

-

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

+

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.

The widget is based on the external library @@ -395,14 +390,14 @@

Web timeline

-

Configuration

+

Configuration

You need to define a view with the tag <timeline> as base element. These are the possible attributes for the tag:

---+++ @@ -413,80 +408,104 @@

Configuration

- + - + - - - + - + - + - + - + - + - +
Attribute
date_start YesDefines the name of the field of type date that -contains the start of the event.Defines the name of the field of +type date that contains the start +of the event.
date_stop NoDefines the name of the field of type date that -contains the end of the event. The date_stop can be -equal to the attribute date_start to display events -has ‘point’ on the Timeline (instantaneous event).Defines the name of the field of +type date that contains the end of +the event. The date_stop can be +equal to the attribute date_start +to display events has ‘point’ on +the Timeline (instantaneous event).
date_delay NoDefines the name of the field of type float/integer -that contain the duration in hours of the event, +Defines the name of the field of +type float/integer that contain the +duration in hours of the event, default = 1.
default_group_by YesDefines the name of the field that will be taken as -default group by when accessing the view or when no +Defines the name of the field that +will be taken as default group by +when accessing the view or when no other group by is selected.
zoomKey NoSpecifies whether the Timeline is only zoomed when an -additional key is down. Available values are ‘’ (does -not apply), ‘altKey’, ‘ctrlKey’, or ‘metaKey’. Set -this option if you want to be able to use the scroll -to navigate vertically on views with a lot of events.Specifies whether the Timeline is +only zoomed when an additional key +is down. Available values are ‘’ +(does not apply), ‘altKey’, +‘ctrlKey’, or ‘metaKey’. Set this +option if you want to be able to +use the scroll to navigate +vertically on views with a lot of +events.
mode NoSpecifies the initial visible window. Available values -are: ‘day’ to display the current day, ‘week’, ‘month’ -and ‘fit’. Default value is ‘fit’ to adjust the -visible window such that it fits all items.Specifies the initial visible +window. Available values are: ‘day’ +to display the current day, ‘week’, +‘month’ and ‘fit’. Default value is +‘fit’ to adjust the visible window +such that it fits all items.
margin NoSpecifies the margins around the items. It should -respect the JSON format. For example -‘{“item”:{“horizontal”:-10}}’. Available values are: -‘{“axis”:<number>}’ (The minimal margin in pixels -between items and the time axis) ‘{“item”:<number>}’ -(The minimal margin in pixels between items in both -horizontal and vertical direction), -‘{“item”:{“horizontal”:<number>}}’ (The minimal -horizontal margin in pixels between items), -‘{“item”:{“vertical”:<number>}}’ (The minimal vertical -margin in pixels between items), -‘{“item”:{“horizontal”:<number>,”vertical”:<number>}}’ -(Combination between horizontal and vertical margins -in pixels between items).Specifies the margins around the +items. It should respect the JSON +format. For example +‘{“item”:{“horizontal”:-10}}’. +Available values are: +‘{“axis”:<number>}’ (The minimal +margin in pixels between items and +the time axis) ‘{“item”:<number>}’ +(The minimal margin in pixels +between items in both horizontal +and vertical direction), +‘{“item”:{“horizontal”:<number>}}’ +(The minimal horizontal margin in +pixels between items), +‘{“item”:{“vertical”:<number>}}’ +(The minimal vertical margin in +pixels between items), +‘{“item”:{“horizont +al”:<number>,”vertical”:<number>}}’ +(Combination between horizontal and +vertical margins in pixels between +items).
event_open_popup NoWhen set to true, it allows to edit the events in a -popup. If not (default value), the record is edited -changing to form view.When set to true, it allows to edit +the events in a popup. If not +(default value), the record is +edited changing to form view.
stack NoWhen set to false, items will not be stacked on top of -each other such that they do overlap.When set to false, items will not +be stacked on top of each other +such that they do overlap.
colors NoAllows to set certain specific colors if the expressed -condition (JS syntax) is met.Allows to set certain specific +colors if the expressed condition +(JS syntax) is met.
dependency_arrow NoSet this attribute to a x2many field to draw arrows -between the records referenced in the x2many field.Set this attribute to a x2many +field to draw arrows between the +records referenced in the x2many +field.
@@ -566,7 +585,7 @@

Configuration

-

Usage

+

Usage

For accessing the timeline view, you have to click on the button with the clock icon in the view switcher. The first time you access to it, the timeline window is zoomed to fit all the current elements, the same @@ -594,7 +613,7 @@

Usage

create a new record with the dragged start and end date.

-

Known issues / Roadmap

+

Known issues / Roadmap

  • Implement a more efficient way of refreshing timeline after a record update;
  • @@ -613,7 +632,7 @@

    Known issues / Roadmap

-

Bug Tracker

+

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed @@ -621,9 +640,9 @@

Bug Tracker

Do not contact contributors directly about support or help with technical issues.

-

Credits

+

Credits

-

Authors

+

Authors

  • ACSONE SA/NV
  • Tecnativa
  • @@ -633,7 +652,7 @@

    Authors

-

Contributors

+

Contributors

+
  • PyTech: +
  • -

    Maintainers

    +

    Maintainers

    This module is maintained by the OCA.

    Odoo Community Association @@ -674,6 +697,5 @@

    Maintainers

    -
    From cd285383559908b190154acf8baac760795bc030 Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Tue, 17 Mar 2026 10:25:56 +0000 Subject: [PATCH 6/6] [BOT] post-merge updates --- README.md | 2 +- web_timeline/README.rst | 148 +++++++++------------ web_timeline/__manifest__.py | 2 +- web_timeline/static/description/index.html | 146 +++++++++----------- 4 files changed, 130 insertions(+), 168 deletions(-) diff --git a/README.md b/README.md index b8d5bb778f12..92b00d40238c 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ addon | version | maintainers | summary [web_systray_button_init_action](web_systray_button_init_action/) | 18.0.1.0.2 | | Add a button to go to the user init action. [web_theme_classic](web_theme_classic/) | 18.0.1.1.0 | legalsylvain | Contrasted style on fields to improve the UI. [web_time_range_menu_custom](web_time_range_menu_custom/) | 18.0.1.0.0 | | Web Time Range Menu Custom -[web_timeline](web_timeline/) | 18.0.1.0.2 | | Interactive visualization chart to show events in time +[web_timeline](web_timeline/) | 18.0.1.0.3 | | Interactive visualization chart to show events in time [web_toggle_chatter](web_toggle_chatter/) | 18.0.1.0.0 | | Toggle chatter in backend form views [web_touchscreen](web_touchscreen/) | 18.0.1.0.0 | yajo rafaelbn | UX improvements for touch screens [web_tree_column_keyboard_resize](web_tree_column_keyboard_resize/) | 18.0.1.0.0 | | Allow resizing tree view columns using keyboard shortcuts diff --git a/web_timeline/README.rst b/web_timeline/README.rst index d34aa1262bf9..3a24e9d781cd 100644 --- a/web_timeline/README.rst +++ b/web_timeline/README.rst @@ -1,3 +1,7 @@ +.. image:: https://odoo-community.org/readme-banner-image + :target: https://odoo-community.org/get-involved?utm_source=readme + :alt: Odoo Community Association + ============ Web timeline ============ @@ -7,13 +11,13 @@ Web timeline !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:586ccf4825edfb382dd5389e2508df4f093ffd42a73db2bc1eca29e1f0a9c29c + !! source digest: sha256:8633bbe9e07663ef50a7093c48c70557768324805e053637d2794ba7fb2fc7f1 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png :target: https://odoo-community.org/page/development-status :alt: Production/Stable -.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png +.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github @@ -45,88 +49,64 @@ Configuration You need to define a view with the tag as base element. These are the possible attributes for the tag: -+------------------+-----------+-------------------------------------+ -| Attribute | Required? | Description | -+==================+===========+=====================================+ -| date_start | **Yes** | Defines the name of the field of | -| | | type date that contains the start | -| | | of the event. | -+------------------+-----------+-------------------------------------+ -| date_stop | No | Defines the name of the field of | -| | | type date that contains the end of | -| | | the event. The date_stop can be | -| | | equal to the attribute date_start | -| | | to display events has 'point' on | -| | | the Timeline (instantaneous event). | -+------------------+-----------+-------------------------------------+ -| date_delay | No | Defines the name of the field of | -| | | type float/integer that contain the | -| | | duration in hours of the event, | -| | | default = 1. | -+------------------+-----------+-------------------------------------+ -| default_group_by | **Yes** | Defines the name of the field that | -| | | will be taken as default group by | -| | | when accessing the view or when no | -| | | other group by is selected. | -+------------------+-----------+-------------------------------------+ -| zoomKey | No | Specifies whether the Timeline is | -| | | only zoomed when an additional key | -| | | is down. Available values are '' | -| | | (does not apply), 'altKey', | -| | | 'ctrlKey', or 'metaKey'. Set this | -| | | option if you want to be able to | -| | | use the scroll to navigate | -| | | vertically on views with a lot of | -| | | events. | -+------------------+-----------+-------------------------------------+ -| mode | No | Specifies the initial visible | -| | | window. Available values are: 'day' | -| | | to display the current day, 'week', | -| | | 'month' and 'fit'. Default value is | -| | | 'fit' to adjust the visible window | -| | | such that it fits all items. | -+------------------+-----------+-------------------------------------+ -| margin | No | Specifies the margins around the | -| | | items. It should respect the JSON | -| | | format. For example | -| | | '{"item":{"horizontal":-10}}'. | -| | | Available values are: | -| | | '{"axis":}' (The minimal | -| | | margin in pixels between items and | -| | | the time axis) '{"item":}' | -| | | (The minimal margin in pixels | -| | | between items in both horizontal | -| | | and vertical direction), | -| | | '{"item":{"horizontal":}}' | -| | | (The minimal horizontal margin in | -| | | pixels between items), | -| | | '{"item":{"vertical":}}' | -| | | (The minimal vertical margin in | -| | | pixels between items), | -| | | '{"item":{"horizont | -| | | al":,"vertical":}}' | -| | | (Combination between horizontal and | -| | | vertical margins in pixels between | -| | | items). | -+------------------+-----------+-------------------------------------+ -| event_open_popup | No | When set to true, it allows to edit | -| | | the events in a popup. If not | -| | | (default value), the record is | -| | | edited changing to form view. | -+------------------+-----------+-------------------------------------+ -| stack | No | When set to false, items will not | -| | | be stacked on top of each other | -| | | such that they do overlap. | -+------------------+-----------+-------------------------------------+ -| colors | No | Allows to set certain specific | -| | | colors if the expressed condition | -| | | (JS syntax) is met. | -+------------------+-----------+-------------------------------------+ -| dependency_arrow | No | Set this attribute to a x2many | -| | | field to draw arrows between the | -| | | records referenced in the x2many | -| | | field. | -+------------------+-----------+-------------------------------------+ ++------------------+-----------+--------------------------------------------------------+ +| Attribute | Required? | Description | ++==================+===========+========================================================+ +| date_start | **Yes** | Defines the name of the field of type date that | +| | | contains the start of the event. | ++------------------+-----------+--------------------------------------------------------+ +| date_stop | No | Defines the name of the field of type date that | +| | | contains the end of the event. The date_stop can be | +| | | equal to the attribute date_start to display events | +| | | has 'point' on the Timeline (instantaneous event). | ++------------------+-----------+--------------------------------------------------------+ +| date_delay | No | Defines the name of the field of type float/integer | +| | | that contain the duration in hours of the event, | +| | | default = 1. | ++------------------+-----------+--------------------------------------------------------+ +| default_group_by | **Yes** | Defines the name of the field that will be taken as | +| | | default group by when accessing the view or when no | +| | | other group by is selected. | ++------------------+-----------+--------------------------------------------------------+ +| zoomKey | No | Specifies whether the Timeline is only zoomed when an | +| | | additional key is down. Available values are '' (does | +| | | not apply), 'altKey', 'ctrlKey', or 'metaKey'. Set | +| | | this option if you want to be able to use the scroll | +| | | to navigate vertically on views with a lot of events. | ++------------------+-----------+--------------------------------------------------------+ +| mode | No | Specifies the initial visible window. Available values | +| | | are: 'day' to display the current day, 'week', 'month' | +| | | and 'fit'. Default value is 'fit' to adjust the | +| | | visible window such that it fits all items. | ++------------------+-----------+--------------------------------------------------------+ +| margin | No | Specifies the margins around the items. It should | +| | | respect the JSON format. For example | +| | | '{"item":{"horizontal":-10}}'. Available values are: | +| | | '{"axis":}' (The minimal margin in pixels | +| | | between items and the time axis) '{"item":}' | +| | | (The minimal margin in pixels between items in both | +| | | horizontal and vertical direction), | +| | | '{"item":{"horizontal":}}' (The minimal | +| | | horizontal margin in pixels between items), | +| | | '{"item":{"vertical":}}' (The minimal vertical | +| | | margin in pixels between items), | +| | | '{"item":{"horizontal":,"vertical":}}' | +| | | (Combination between horizontal and vertical margins | +| | | in pixels between items). | ++------------------+-----------+--------------------------------------------------------+ +| event_open_popup | No | When set to true, it allows to edit the events in a | +| | | popup. If not (default value), the record is edited | +| | | changing to form view. | ++------------------+-----------+--------------------------------------------------------+ +| stack | No | When set to false, items will not be stacked on top of | +| | | each other such that they do overlap. | ++------------------+-----------+--------------------------------------------------------+ +| colors | No | Allows to set certain specific colors if the expressed | +| | | condition (JS syntax) is met. | ++------------------+-----------+--------------------------------------------------------+ +| dependency_arrow | No | Set this attribute to a x2many field to draw arrows | +| | | between the records referenced in the x2many field. | ++------------------+-----------+--------------------------------------------------------+ Optionally you can declare a custom template, which will be used to render the timeline items. You have to name the template diff --git a/web_timeline/__manifest__.py b/web_timeline/__manifest__.py index 991049fa5659..7b454771ed73 100644 --- a/web_timeline/__manifest__.py +++ b/web_timeline/__manifest__.py @@ -5,7 +5,7 @@ { "name": "Web timeline", "summary": "Interactive visualization chart to show events in time", - "version": "18.0.1.0.2", + "version": "18.0.1.0.3", "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 cb66238feba7..26b73f9a92a7 100644 --- a/web_timeline/static/description/index.html +++ b/web_timeline/static/description/index.html @@ -3,7 +3,7 @@ -Web timeline +README.rst -
    -

    Web timeline

    +
    + + +Odoo Community Association + +
    +

    Web timeline

    -

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

    +

    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.

    The widget is based on the external library @@ -390,14 +395,14 @@

    Web timeline

    -

    Configuration

    +

    Configuration

    You need to define a view with the tag <timeline> as base element. These are the possible attributes for the tag:

    ---+++ @@ -408,104 +413,80 @@

    Configuration

    - + - + - - - + - + - + - + - + - + - +
    Attribute
    date_start YesDefines the name of the field of -type date that contains the start -of the event.Defines the name of the field of type date that +contains the start of the event.
    date_stop NoDefines the name of the field of -type date that contains the end of -the event. The date_stop can be -equal to the attribute date_start -to display events has ‘point’ on -the Timeline (instantaneous event).Defines the name of the field of type date that +contains the end of the event. The date_stop can be +equal to the attribute date_start to display events +has ‘point’ on the Timeline (instantaneous event).
    date_delay NoDefines the name of the field of -type float/integer that contain the -duration in hours of the event, +Defines the name of the field of type float/integer +that contain the duration in hours of the event, default = 1.
    default_group_by YesDefines the name of the field that -will be taken as default group by -when accessing the view or when no +Defines the name of the field that will be taken as +default group by when accessing the view or when no other group by is selected.
    zoomKey NoSpecifies whether the Timeline is -only zoomed when an additional key -is down. Available values are ‘’ -(does not apply), ‘altKey’, -‘ctrlKey’, or ‘metaKey’. Set this -option if you want to be able to -use the scroll to navigate -vertically on views with a lot of -events.Specifies whether the Timeline is only zoomed when an +additional key is down. Available values are ‘’ (does +not apply), ‘altKey’, ‘ctrlKey’, or ‘metaKey’. Set +this option if you want to be able to use the scroll +to navigate vertically on views with a lot of events.
    mode NoSpecifies the initial visible -window. Available values are: ‘day’ -to display the current day, ‘week’, -‘month’ and ‘fit’. Default value is -‘fit’ to adjust the visible window -such that it fits all items.Specifies the initial visible window. Available values +are: ‘day’ to display the current day, ‘week’, ‘month’ +and ‘fit’. Default value is ‘fit’ to adjust the +visible window such that it fits all items.
    margin NoSpecifies the margins around the -items. It should respect the JSON -format. For example -‘{“item”:{“horizontal”:-10}}’. -Available values are: -‘{“axis”:<number>}’ (The minimal -margin in pixels between items and -the time axis) ‘{“item”:<number>}’ -(The minimal margin in pixels -between items in both horizontal -and vertical direction), -‘{“item”:{“horizontal”:<number>}}’ -(The minimal horizontal margin in -pixels between items), -‘{“item”:{“vertical”:<number>}}’ -(The minimal vertical margin in -pixels between items), -‘{“item”:{“horizont -al”:<number>,”vertical”:<number>}}’ -(Combination between horizontal and -vertical margins in pixels between -items).Specifies the margins around the items. It should +respect the JSON format. For example +‘{“item”:{“horizontal”:-10}}’. Available values are: +‘{“axis”:<number>}’ (The minimal margin in pixels +between items and the time axis) ‘{“item”:<number>}’ +(The minimal margin in pixels between items in both +horizontal and vertical direction), +‘{“item”:{“horizontal”:<number>}}’ (The minimal +horizontal margin in pixels between items), +‘{“item”:{“vertical”:<number>}}’ (The minimal vertical +margin in pixels between items), +‘{“item”:{“horizontal”:<number>,”vertical”:<number>}}’ +(Combination between horizontal and vertical margins +in pixels between items).
    event_open_popup NoWhen set to true, it allows to edit -the events in a popup. If not -(default value), the record is -edited changing to form view.When set to true, it allows to edit the events in a +popup. If not (default value), the record is edited +changing to form view.
    stack NoWhen set to false, items will not -be stacked on top of each other -such that they do overlap.When set to false, items will not be stacked on top of +each other such that they do overlap.
    colors NoAllows to set certain specific -colors if the expressed condition -(JS syntax) is met.Allows to set certain specific colors if the expressed +condition (JS syntax) is met.
    dependency_arrow NoSet this attribute to a x2many -field to draw arrows between the -records referenced in the x2many -field.Set this attribute to a x2many field to draw arrows +between the records referenced in the x2many field.
    @@ -585,7 +566,7 @@

    Configuration

    -

    Usage

    +

    Usage

    For accessing the timeline view, you have to click on the button with the clock icon in the view switcher. The first time you access to it, the timeline window is zoomed to fit all the current elements, the same @@ -613,7 +594,7 @@

    Usage

    create a new record with the dragged start and end date.

    -

    Known issues / Roadmap

    +

    Known issues / Roadmap

    • Implement a more efficient way of refreshing timeline after a record update;
    • @@ -632,7 +613,7 @@

      Known issues / Roadmap

    -

    Bug Tracker

    +

    Bug Tracker

    Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed @@ -640,9 +621,9 @@

    Bug Tracker

    Do not contact contributors directly about support or help with technical issues.

    -

    Credits

    +

    Credits

    -

    Authors

    +

    Authors

    • ACSONE SA/NV
    • Tecnativa
    • @@ -652,7 +633,7 @@

      Authors

    -

    Contributors

    +

    Contributors

    -

    Maintainers

    +

    Maintainers

    This module is maintained by the OCA.

    Odoo Community Association @@ -697,5 +678,6 @@

    Maintainers

    +