diff --git a/web_time_range_menu_custom/README.rst b/web_time_range_menu_custom/README.rst index 7e200c4c6..8e3400dd5 100644 --- a/web_time_range_menu_custom/README.rst +++ b/web_time_range_menu_custom/README.rst @@ -17,19 +17,19 @@ Web Time Range Menu Custom :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/16.0/web_time_range_menu_custom + :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-16-0/web-16-0-web_time_range_menu_custom + :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=16.0 + :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". +Extend period and comparison period options for the date and datetime +fields filted menu adding a new option called "Custom Period". **Table of contents** @@ -41,20 +41,23 @@ Usage To see this module working: -#. Navigate to any menu that supports date-based filters. -#. Open **Custom period** tab. -#. Add new date filter with the provided options. +1. Navigate to any menu that supports date-based filters. +2. Open **Custom period** tab. +3. Add new date filter with the provided options. -.. image:: https://raw.githubusercontent.com/web_time_range_menu_custom/static/src/description/custom_period_option.png - :alt: Custom Period Option +|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. +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. +**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 =========== @@ -62,7 +65,7 @@ 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 -`feedback `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -70,20 +73,20 @@ Credits ======= Authors -~~~~~~~ +------- * Tecnativa Contributors -~~~~~~~~~~~~ +------------ -* `Tecnativa `__: +- `Tecnativa `__: - * Alexandre D. Díaz - * Carlos Roca + - Alexandre D. Díaz + - Carlos Roca Maintainers -~~~~~~~~~~~ +----------- This module is maintained by the OCA. @@ -95,6 +98,6 @@ 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 `_ project on GitHub. +This module is part of the `OCA/web `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/web_time_range_menu_custom/pyproject.toml b/web_time_range_menu_custom/pyproject.toml new file mode 100644 index 000000000..4231d0ccc --- /dev/null +++ b/web_time_range_menu_custom/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/web_time_range_menu_custom/readme/CONTRIBUTORS.md b/web_time_range_menu_custom/readme/CONTRIBUTORS.md new file mode 100644 index 000000000..2ddacdb2d --- /dev/null +++ b/web_time_range_menu_custom/readme/CONTRIBUTORS.md @@ -0,0 +1,3 @@ +- [Tecnativa](https://www.tecnativa.com): + - Alexandre D. Díaz + - Carlos Roca diff --git a/web_time_range_menu_custom/readme/CONTRIBUTORS.rst b/web_time_range_menu_custom/readme/CONTRIBUTORS.rst deleted file mode 100644 index 0b0b82ce1..000000000 --- a/web_time_range_menu_custom/readme/CONTRIBUTORS.rst +++ /dev/null @@ -1,4 +0,0 @@ -* `Tecnativa `__: - - * Alexandre D. Díaz - * Carlos Roca diff --git a/web_time_range_menu_custom/readme/DESCRIPTION.md b/web_time_range_menu_custom/readme/DESCRIPTION.md new file mode 100644 index 000000000..df76463ae --- /dev/null +++ b/web_time_range_menu_custom/readme/DESCRIPTION.md @@ -0,0 +1,2 @@ +Extend period and comparison period options for the date and datetime +fields filted menu adding a new option called "Custom Period". diff --git a/web_time_range_menu_custom/readme/DESCRIPTION.rst b/web_time_range_menu_custom/readme/DESCRIPTION.rst deleted file mode 100644 index 6dca00fe8..000000000 --- a/web_time_range_menu_custom/readme/DESCRIPTION.rst +++ /dev/null @@ -1,2 +0,0 @@ -Extend period and comparison period options for the date and datetime fields filted menu -adding a new option called "Custom Period". diff --git a/web_time_range_menu_custom/readme/USAGE.md b/web_time_range_menu_custom/readme/USAGE.md new file mode 100644 index 000000000..703ff8b4e --- /dev/null +++ b/web_time_range_menu_custom/readme/USAGE.md @@ -0,0 +1,17 @@ +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](/web_time_range_menu_custom/static/src/description/custom_period_option.png) + +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. diff --git a/web_time_range_menu_custom/readme/USAGE.rst b/web_time_range_menu_custom/readme/USAGE.rst deleted file mode 100644 index d975ed048..000000000 --- a/web_time_range_menu_custom/readme/USAGE.rst +++ /dev/null @@ -1,16 +0,0 @@ -To see this module working: - -#. Navigate to any menu that supports date-based filters. -#. Open **Custom period** tab. -#. Add new date filter with the provided options. - -.. image:: /web_time_range_menu_custom/static/src/description/custom_period_option.png - :alt: 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. \ No newline at end of file diff --git a/web_time_range_menu_custom/static/description/index.html b/web_time_range_menu_custom/static/description/index.html index 2b1db6998..165e64444 100644 --- a/web_time_range_menu_custom/static/description/index.html +++ b/web_time_range_menu_custom/static/description/index.html @@ -369,9 +369,9 @@ ul.auto-toc { !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! source digest: sha256:a7ec150e03ed025658f5fa8b99182db4462ec123cc7ea6a4de38c4e8082059b7 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

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

-

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

+

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

+

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

Table of contents

    @@ -393,20 +393,22 @@ adding a new option called “Custom Period”.

  • Open Custom period tab.
  • 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

    +

    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.

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 -feedback.

+feedback.

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

@@ -436,7 +438,7 @@ If you spotted it first, help us to smash it by providing a detailed and welcome

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 project on GitHub.

+

This module is part of the OCA/web project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.