Skip to content

Commit

Permalink
Merge pull request #101 from OCA/17.0
Browse files Browse the repository at this point in the history
Fork Sync Branch 17.0
  • Loading branch information
btl-bot authored Nov 28, 2024
2 parents e701927 + 520304b commit b5bbb4a
Show file tree
Hide file tree
Showing 21 changed files with 1,459 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ addon | version | maintainers | summary
[web_remember_tree_column_width](web_remember_tree_column_width/) | 17.0.1.0.0 | [![frahikLV](https://github.com/frahikLV.png?size=30px)](https://github.com/frahikLV) [![luisg123v](https://github.com/luisg123v.png?size=30px)](https://github.com/luisg123v) [![cuongnmtm](https://github.com/cuongnmtm.png?size=30px)](https://github.com/cuongnmtm) | Remember the tree columns' widths across sessions.
[web_responsive](web_responsive/) | 17.0.1.1.2 | [![Tardo](https://github.com/Tardo.png?size=30px)](https://github.com/Tardo) [![SplashS](https://github.com/SplashS.png?size=30px)](https://github.com/SplashS) | Responsive web client, community-supported
[web_theme_classic](web_theme_classic/) | 17.0.1.0.0 | [![legalsylvain](https://github.com/legalsylvain.png?size=30px)](https://github.com/legalsylvain) | Contrasted style on fields to improve the UI.
[web_time_range_menu_custom](web_time_range_menu_custom/) | 17.0.1.0.0 | | Web Time Range Menu Custom
[web_timeline](web_timeline/) | 17.0.1.0.1 | [![tarteo](https://github.com/tarteo.png?size=30px)](https://github.com/tarteo) | Interactive visualization chart to show events in time
[web_tree_dynamic_colored_field](web_tree_dynamic_colored_field/) | 17.0.1.0.0 | | Allows you to dynamically color fields on tree views
[web_tree_many2one_clickable](web_tree_many2one_clickable/) | 17.0.1.0.0 | | Open the linked resource when clicking on their name
Expand Down
3 changes: 2 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 = "17.0.20241120.0"
version = "17.0.20241126.0"
dependencies = [
"odoo-addon-web_calendar_slot_duration>=17.0dev,<17.1dev",
"odoo-addon-web_dialog_size>=17.0dev,<17.1dev",
Expand All @@ -16,6 +16,7 @@ dependencies = [
"odoo-addon-web_remember_tree_column_width>=17.0dev,<17.1dev",
"odoo-addon-web_responsive>=17.0dev,<17.1dev",
"odoo-addon-web_theme_classic>=17.0dev,<17.1dev",
"odoo-addon-web_time_range_menu_custom>=17.0dev,<17.1dev",
"odoo-addon-web_timeline>=17.0dev,<17.1dev",
"odoo-addon-web_tree_dynamic_colored_field>=17.0dev,<17.1dev",
"odoo-addon-web_tree_many2one_clickable>=17.0dev,<17.1dev",
Expand Down
103 changes: 103 additions & 0 deletions web_time_range_menu_custom/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
==========================
Web Time Range Menu Custom
==========================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:b8f576a232543e626ea63750f61ea280b120dc0aa96313e37982039805a68eb6
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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/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
:target: https://github.com/OCA/web/tree/17.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-17-0/web-17-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=17.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:%2017.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/17.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": "17.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 <[email protected]>\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 <[email protected]>\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

0 comments on commit b5bbb4a

Please sign in to comment.