forked from Techsystech/web
[IMP] web_time_range_menu_custom: pre-commit auto fixes
parent
248c6fd8b8
commit
c2de3f5e53
|
@ -17,19 +17,19 @@ Web Time Range Menu Custom
|
||||||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
|
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
|
||||||
:alt: License: AGPL-3
|
:alt: License: AGPL-3
|
||||||
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github
|
.. |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
|
:alt: OCA/web
|
||||||
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
|
.. |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
|
:alt: Translate me on Weblate
|
||||||
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
|
.. |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
|
:alt: Try me on Runboat
|
||||||
|
|
||||||
|badge1| |badge2| |badge3| |badge4| |badge5|
|
|badge1| |badge2| |badge3| |badge4| |badge5|
|
||||||
|
|
||||||
Extend period and comparison period options for the date and datetime fields filted menu
|
Extend period and comparison period options for the date and datetime
|
||||||
adding a new option called "Custom Period".
|
fields filted menu adding a new option called "Custom Period".
|
||||||
|
|
||||||
**Table of contents**
|
**Table of contents**
|
||||||
|
|
||||||
|
@ -41,20 +41,23 @@ Usage
|
||||||
|
|
||||||
To see this module working:
|
To see this module working:
|
||||||
|
|
||||||
#. Navigate to any menu that supports date-based filters.
|
1. Navigate to any menu that supports date-based filters.
|
||||||
#. Open **Custom period** tab.
|
2. Open **Custom period** tab.
|
||||||
#. Add new date filter with the provided options.
|
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
|
|Custom Period Option|
|
||||||
:alt: Custom Period Option
|
|
||||||
|
|
||||||
For the pivots, on the comparison tab you can see the same option to make the
|
For the pivots, on the comparison tab you can see the same option to
|
||||||
comparison with the provided filter, taking th reference from the set filter.
|
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
|
**Note:** For "days," it functions as a range; for example, "Last 7
|
||||||
period from 7 days ago up to today. However, for other options, it provides the
|
days" returns the period from 7 days ago up to today. However, for other
|
||||||
range for the selected period. For instance, "Last 1 month" returns the period from
|
options, it provides the range for the selected period. For instance,
|
||||||
the first day of the previous month to the last day of the previous month.
|
"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
|
Bug Tracker
|
||||||
===========
|
===========
|
||||||
|
@ -62,7 +65,7 @@ Bug Tracker
|
||||||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/web/issues>`_.
|
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.
|
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
|
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:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
|
`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.
|
Do not contact contributors directly about support or help with technical issues.
|
||||||
|
|
||||||
|
@ -70,20 +73,20 @@ Credits
|
||||||
=======
|
=======
|
||||||
|
|
||||||
Authors
|
Authors
|
||||||
~~~~~~~
|
-------
|
||||||
|
|
||||||
* Tecnativa
|
* Tecnativa
|
||||||
|
|
||||||
Contributors
|
Contributors
|
||||||
~~~~~~~~~~~~
|
------------
|
||||||
|
|
||||||
* `Tecnativa <https://www.tecnativa.com>`__:
|
- `Tecnativa <https://www.tecnativa.com>`__:
|
||||||
|
|
||||||
* Alexandre D. Díaz
|
- Alexandre D. Díaz
|
||||||
* Carlos Roca
|
- Carlos Roca
|
||||||
|
|
||||||
Maintainers
|
Maintainers
|
||||||
~~~~~~~~~~~
|
-----------
|
||||||
|
|
||||||
This module is maintained by the OCA.
|
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
|
mission is to support the collaborative development of Odoo features and
|
||||||
promote its widespread use.
|
promote its widespread use.
|
||||||
|
|
||||||
This module is part of the `OCA/web <https://github.com/OCA/web/tree/16.0/web_time_range_menu_custom>`_ project on GitHub.
|
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.
|
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
[build-system]
|
||||||
|
requires = ["whool"]
|
||||||
|
build-backend = "whool.buildapi"
|
|
@ -0,0 +1,3 @@
|
||||||
|
- [Tecnativa](https://www.tecnativa.com):
|
||||||
|
- Alexandre D. Díaz
|
||||||
|
- Carlos Roca
|
|
@ -1,4 +0,0 @@
|
||||||
* `Tecnativa <https://www.tecnativa.com>`__:
|
|
||||||
|
|
||||||
* Alexandre D. Díaz
|
|
||||||
* Carlos Roca
|
|
|
@ -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".
|
|
@ -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".
|
|
|
@ -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.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
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.
|
|
@ -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.
|
|
|
@ -369,9 +369,9 @@ ul.auto-toc {
|
||||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||||
!! source digest: sha256:a7ec150e03ed025658f5fa8b99182db4462ec123cc7ea6a4de38c4e8082059b7
|
!! source digest: sha256:a7ec150e03ed025658f5fa8b99182db4462ec123cc7ea6a4de38c4e8082059b7
|
||||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
||||||
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/web/tree/16.0/web_time_range_menu_custom"><img alt="OCA/web" src="https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/web-16-0/web-16-0-web_time_range_menu_custom"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/web&target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
|
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/web/tree/17.0/web_time_range_menu_custom"><img alt="OCA/web" src="https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/web-17-0/web-17-0-web_time_range_menu_custom"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/web&target_branch=17.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
|
||||||
<p>Extend period and comparison period options for the date and datetime fields filted menu
|
<p>Extend period and comparison period options for the date and datetime
|
||||||
adding a new option called “Custom Period”.</p>
|
fields filted menu adding a new option called “Custom Period”.</p>
|
||||||
<p><strong>Table of contents</strong></p>
|
<p><strong>Table of contents</strong></p>
|
||||||
<div class="contents local topic" id="contents">
|
<div class="contents local topic" id="contents">
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
|
@ -393,20 +393,22 @@ adding a new option called “Custom Period”.</p>
|
||||||
<li>Open <strong>Custom period</strong> tab.</li>
|
<li>Open <strong>Custom period</strong> tab.</li>
|
||||||
<li>Add new date filter with the provided options.</li>
|
<li>Add new date filter with the provided options.</li>
|
||||||
</ol>
|
</ol>
|
||||||
<img alt="Custom Period Option" src="https://raw.githubusercontent.com/web_time_range_menu_custom/static/src/description/custom_period_option.png" />
|
<p><img alt="Custom Period Option" src="https://raw.githubusercontent.com/web_time_range_menu_custom/static/src/description/custom_period_option.png" /></p>
|
||||||
<p>For the pivots, on the comparison tab you can see the same option to make the
|
<p>For the pivots, on the comparison tab you can see the same option to
|
||||||
comparison with the provided filter, taking th reference from the set filter.</p>
|
make the comparison with the provided filter, taking th reference from
|
||||||
<p><strong>Note:</strong> For “days,” it functions as a range; for example, “Last 7 days” returns the
|
the set filter.</p>
|
||||||
period from 7 days ago up to today. However, for other options, it provides the
|
<p><strong>Note:</strong> For “days,” it functions as a range; for example, “Last 7
|
||||||
range for the selected period. For instance, “Last 1 month” returns the period from
|
days” returns the period from 7 days ago up to today. However, for other
|
||||||
the first day of the previous month to the last day of the previous month.</p>
|
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.</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="section" id="bug-tracker">
|
<div class="section" id="bug-tracker">
|
||||||
<h1><a class="toc-backref" href="#toc-entry-2">Bug Tracker</a></h1>
|
<h1><a class="toc-backref" href="#toc-entry-2">Bug Tracker</a></h1>
|
||||||
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/web/issues">GitHub Issues</a>.
|
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/web/issues">GitHub Issues</a>.
|
||||||
In case of trouble, please check there if your issue has already been reported.
|
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
|
If you spotted it first, help us to smash it by providing a detailed and welcomed
|
||||||
<a class="reference external" href="https://github.com/OCA/web/issues/new?body=module:%20web_time_range_menu_custom%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
|
<a class="reference external" href="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**">feedback</a>.</p>
|
||||||
<p>Do not contact contributors directly about support or help with technical issues.</p>
|
<p>Do not contact contributors directly about support or help with technical issues.</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="section" id="credits">
|
<div class="section" id="credits">
|
||||||
|
@ -436,7 +438,7 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
|
||||||
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
|
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
|
||||||
mission is to support the collaborative development of Odoo features and
|
mission is to support the collaborative development of Odoo features and
|
||||||
promote its widespread use.</p>
|
promote its widespread use.</p>
|
||||||
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/web/tree/16.0/web_time_range_menu_custom">OCA/web</a> project on GitHub.</p>
|
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/web/tree/17.0/web_time_range_menu_custom">OCA/web</a> project on GitHub.</p>
|
||||||
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
|
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue