Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
c54d397
[ADD] web_time_range_menu_custom
Tardo Sep 20, 2021
fcf85b7
[FIX] web_time_range_menu_custom: Mix custom and 'no custom' periods
Tardo Oct 7, 2021
b998987
[IMP] web_time_range_menu_custom: black, isort, prettier
CarlosRoca13 Jan 16, 2023
37440ec
[MIG] web_time_range_menu_custom: Migration to 15.0
CarlosRoca13 Mar 22, 2023
3173ca5
[IMP] web_time_range_menu_custom: Dates include today but other granu…
CarlosRoca13 May 11, 2023
ed3b0d3
Added translation using Weblate (Spanish)
Ivorra78 Nov 19, 2023
080ad3a
[MIG] web_time_range_menu_custom: Migration to 16.0
CarlosRoca13 Nov 19, 2024
81f7cd8
Added translation using Weblate (Italian)
mymage Nov 20, 2024
f02a471
[IMP] web_time_range_menu_custom: pre-commit auto fixes
CarlosRoca13 Nov 22, 2024
8913b8f
[MIG] web_time_range_menu_custom: Migration to 17.0
CarlosRoca13 Nov 26, 2024
26ed038
[IMP] web_time_range_menu_custom: pre-commit auto fixes
CarlosRoca13 Nov 28, 2024
aa64d09
[MIG] web_time_range_menu_custom: Migration to 18.0
CarlosRoca13 Nov 28, 2024
6379369
Merge PR #3055 into 18.0
OCA-git-bot Feb 23, 2026
0c6baca
[UPD] Update web_time_range_menu_custom.pot
Feb 23, 2026
9fcd4f5
[BOT] post-merge updates
OCA-git-bot Feb 23, 2026
288e96f
[ADD] web_toggle_chatter
arch-fan Feb 24, 2026
10a8c14
Merge PR #3444 into 18.0
OCA-git-bot Feb 24, 2026
54e2e2d
[UPD] Update web_toggle_chatter.pot
Feb 24, 2026
12b90b0
[BOT] post-merge updates
OCA-git-bot Feb 24, 2026
5002774
Added translation using Weblate (Turkish)
bo-eska Feb 25, 2026
66be580
Added translation using Weblate (Italian)
mymage Feb 25, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ addon | version | maintainers | summary
[web_sort_menu](web_sort_menu/) | 18.0.1.0.0 | | Sort Apps in DropDown/NavBar Menu alphabetically
[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 | <a href='https://github.com/legalsylvain'><img src='https://github.com/legalsylvain.png' width='32' height='32' style='border-radius:50%;' alt='legalsylvain'/></a> | 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 | <a href='https://github.com/tarteo'><img src='https://github.com/tarteo.png' width='32' height='32' style='border-radius:50%;' alt='tarteo'/></a> | 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 | <a href='https://github.com/yajo'><img src='https://github.com/yajo.png' width='32' height='32' style='border-radius:50%;' alt='yajo'/></a> <a href='https://github.com/rafaelbn'><img src='https://github.com/rafaelbn.png' width='32' height='32' style='border-radius:50%;' alt='rafaelbn'/></a> | 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
[web_tree_dynamic_colored_field](web_tree_dynamic_colored_field/) | 18.0.1.0.1 | | Allows you to dynamically color fields on tree views
Expand Down
4 changes: 3 additions & 1 deletion setup/_metapackage/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "odoo-addons-oca-web"
version = "18.0.20260115.0"
version = "18.0.20260224.0"
dependencies = [
"odoo-addon-web_calendar_slot_duration==18.0.*",
"odoo-addon-web_chatter_position==18.0.*",
Expand Down Expand Up @@ -39,7 +39,9 @@ dependencies = [
"odoo-addon-web_sort_menu==18.0.*",
"odoo-addon-web_systray_button_init_action==18.0.*",
"odoo-addon-web_theme_classic==18.0.*",
"odoo-addon-web_time_range_menu_custom==18.0.*",
"odoo-addon-web_timeline==18.0.*",
"odoo-addon-web_toggle_chatter==18.0.*",
"odoo-addon-web_touchscreen==18.0.*",
"odoo-addon-web_tree_column_keyboard_resize==18.0.*",
"odoo-addon-web_tree_dynamic_colored_field==18.0.*",
Expand Down
14 changes: 14 additions & 0 deletions web_theme_classic/i18n/tr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
#
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"
107 changes: 107 additions & 0 deletions web_time_range_menu_custom/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

==========================
Web Time Range Menu Custom
==========================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:a1ba5362f4135173474450609ab05ffa31b197e6bf6f33c984f4b1d3e49c43c7
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |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
:target: https://github.com/OCA/web/tree/18.0/web_time_range_menu_custom
:alt: OCA/web
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/web-18-0/web-18-0-web_time_range_menu_custom
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/web&target_branch=18.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

Extend period and comparison period options for the date and datetime
fields filted menu adding a new option called "Custom Period".

**Table of contents**

.. contents::
:local:

Usage
=====

To see this module working:

1. Navigate to any menu that supports date-based filters.
2. Open **Custom period** tab.
3. Add new date filter with the provided options.

|Custom Period Option|

For the pivots, on the comparison tab you can see the same option to
make the comparison with the provided filter, taking th reference from
the set filter.

**Note:** For "days," it functions as a range; for example, "Last 7
days" returns the period from 7 days ago up to today. However, for other
options, it provides the range for the selected period. For instance,
"Last 1 month" returns the period from the first day of the previous
month to the last day of the previous month.

.. |Custom Period Option| image:: https://raw.githubusercontent.com/web_time_range_menu_custom/static/src/description/custom_period_option.png

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/web/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
`feedback <https://github.com/OCA/web/issues/new?body=module:%20web_time_range_menu_custom%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

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

Credits
=======

Authors
-------

* Tecnativa

Contributors
------------

- `Tecnativa <https://www.tecnativa.com>`__:

- Alexandre D. Díaz
- Carlos Roca

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

This module is part of the `OCA/web <https://github.com/OCA/web/tree/18.0/web_time_range_menu_custom>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions web_time_range_menu_custom/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
23 changes: 23 additions & 0 deletions web_time_range_menu_custom/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).

{
"name": "Web Time Range Menu Custom",
"version": "18.0.1.0.0",
"author": "Tecnativa, Odoo Community Association (OCA)",
"license": "AGPL-3",
"website": "https://github.com/OCA/web",
"depends": ["web"],
"installable": True,
"auto_install": False,
"assets": {
"web.assets_backend": [
(
"after",
"/web/static/src/search/utils/dates.js",
"/web_time_range_menu_custom/static/src/js/*.esm.js",
),
"/web_time_range_menu_custom/static/src/scss/*.scss",
"/web_time_range_menu_custom/static/src/xml/*.xml",
],
},
}
87 changes: 87 additions & 0 deletions web_time_range_menu_custom/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * web_time_range_menu_custom
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-11-19 19:33+0000\n"
"Last-Translator: Ivorra78 <informatica@totmaterial.es>\n"
"Language-Team: none\n"
"Language: es\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"
"X-Generator: Weblate 4.17\n"

#. module: web_time_range_menu_custom
#. odoo-javascript
#: code:addons/web_time_range_menu_custom/static/src/xml/date_selector.xml:0
#, python-format
msgid "Add"
msgstr "Añadir"

#. module: web_time_range_menu_custom
#. odoo-javascript
#: code:addons/web_time_range_menu_custom/static/src/xml/date_selector.xml:0
#, python-format
msgid "Custom period"
msgstr "Período personalizado"

#. module: web_time_range_menu_custom
#. odoo-javascript
#: code:addons/web_time_range_menu_custom/static/src/xml/date_selector.xml:0
#, python-format
msgid "Day"
msgstr "Día"

#. module: web_time_range_menu_custom
#. odoo-javascript
#: code:addons/web_time_range_menu_custom/static/src/xml/date_selector.xml:0
#, python-format
msgid "Month"
msgstr "Mes"

#. module: web_time_range_menu_custom
#. odoo-javascript
#: code:addons/web_time_range_menu_custom/static/src/xml/date_selector.xml:0
#, python-format
msgid "Week"
msgstr "Semana"

#. module: web_time_range_menu_custom
#. odoo-javascript
#: code:addons/web_time_range_menu_custom/static/src/xml/date_selector.xml:0
#, python-format
msgid "Year"
msgstr "Año"

#. module: web_time_range_menu_custom
#. odoo-javascript
#: code:addons/web_time_range_menu_custom/static/src/xml/date_selector.xml:0
#, python-format
msgid "day"
msgstr ""

#. module: web_time_range_menu_custom
#. odoo-javascript
#: code:addons/web_time_range_menu_custom/static/src/xml/date_selector.xml:0
#, python-format
msgid "month"
msgstr ""

#. module: web_time_range_menu_custom
#. odoo-javascript
#: code:addons/web_time_range_menu_custom/static/src/xml/date_selector.xml:0
#, python-format
msgid "week"
msgstr ""

#. module: web_time_range_menu_custom
#. odoo-javascript
#: code:addons/web_time_range_menu_custom/static/src/xml/date_selector.xml:0
#, python-format
msgid "year"
msgstr ""
87 changes: 87 additions & 0 deletions web_time_range_menu_custom/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * web_time_range_menu_custom
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2024-11-20 13:06+0000\n"
"Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
"Language-Team: none\n"
"Language: it\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"
"X-Generator: Weblate 5.6.2\n"

#. module: web_time_range_menu_custom
#. odoo-javascript
#: code:addons/web_time_range_menu_custom/static/src/xml/date_selector.xml:0
#, python-format
msgid "Add"
msgstr "Aggiungi"

#. module: web_time_range_menu_custom
#. odoo-javascript
#: code:addons/web_time_range_menu_custom/static/src/xml/date_selector.xml:0
#, python-format
msgid "Custom period"
msgstr "Periodo predefinito"

#. module: web_time_range_menu_custom
#. odoo-javascript
#: code:addons/web_time_range_menu_custom/static/src/xml/date_selector.xml:0
#, python-format
msgid "Day"
msgstr "Giorno"

#. module: web_time_range_menu_custom
#. odoo-javascript
#: code:addons/web_time_range_menu_custom/static/src/xml/date_selector.xml:0
#, python-format
msgid "Month"
msgstr "Mese"

#. module: web_time_range_menu_custom
#. odoo-javascript
#: code:addons/web_time_range_menu_custom/static/src/xml/date_selector.xml:0
#, python-format
msgid "Week"
msgstr "Settimana"

#. module: web_time_range_menu_custom
#. odoo-javascript
#: code:addons/web_time_range_menu_custom/static/src/xml/date_selector.xml:0
#, python-format
msgid "Year"
msgstr "Anno"

#. module: web_time_range_menu_custom
#. odoo-javascript
#: code:addons/web_time_range_menu_custom/static/src/xml/date_selector.xml:0
#, python-format
msgid "day"
msgstr "giorno"

#. module: web_time_range_menu_custom
#. odoo-javascript
#: code:addons/web_time_range_menu_custom/static/src/xml/date_selector.xml:0
#, python-format
msgid "month"
msgstr "mese"

#. module: web_time_range_menu_custom
#. odoo-javascript
#: code:addons/web_time_range_menu_custom/static/src/xml/date_selector.xml:0
#, python-format
msgid "week"
msgstr "settimana"

#. module: web_time_range_menu_custom
#. odoo-javascript
#: code:addons/web_time_range_menu_custom/static/src/xml/date_selector.xml:0
#, python-format
msgid "year"
msgstr "anno"
Loading
Loading