Laurent Mignon (ACSONE)
7 years ago
6 changed files with 126 additions and 36 deletions
-
103date_range/README.rst
-
4date_range/__manifest__.py
-
3date_range/readme/CONTRIBUTORS.rst
-
2date_range/readme/DESCRIPTION.rst
-
3date_range/readme/INSTALL.rst
-
47date_range/readme/USAGE.rst
@ -0,0 +1,3 @@ |
|||
* Laurent Mignon <laurent.mignon@acsone.eu> |
|||
* Alexis de Lattre <alexis.delattre@akretion.com> |
|||
* Miquel Raïch <miquel.raich@eficent.com> |
@ -0,0 +1,2 @@ |
|||
This module lets you define global date ranges that can be used to filter |
|||
your values in tree views. |
@ -0,0 +1,3 @@ |
|||
The addon use the daterange method from postgres. This method is supported as of postgresql 9.2 |
|||
|
|||
|
@ -0,0 +1,47 @@ |
|||
To configure this module, you need to: |
|||
|
|||
* Go to Settings > Technical > Date ranges > Date Range Types where |
|||
you can create types of date ranges. |
|||
|
|||
.. figure:: https://raw.githubusercontent.com/OCA/server-tools/10.0/date_range/static/description/date_range_type_create.png |
|||
:scale: 80 % |
|||
:alt: Create a type of date range |
|||
|
|||
* Go to Settings > Technical > Date ranges > Date Ranges where |
|||
you can create date ranges. |
|||
|
|||
.. figure:: https://raw.githubusercontent.com/OCA/server-tools/10.0/date_range/static/description/date_range_create.png |
|||
:scale: 80 % |
|||
:alt: Date range creation |
|||
|
|||
It's also possible to launch a wizard from the 'Generate Date Ranges' menu. |
|||
|
|||
.. figure:: https://raw.githubusercontent.com/OCA/server-tools/10.0/date_range/static/description/date_range_wizard.png |
|||
:scale: 80 % |
|||
:alt: Date range wizard |
|||
|
|||
The wizard is useful to generate recurring periods. |
|||
|
|||
.. figure:: https://raw.githubusercontent.com/OCA/server-tools/10.0/date_range/static/description/date_range_wizard_result.png |
|||
:scale: 80 % |
|||
:alt: Date range wizard result |
|||
|
|||
* Your date ranges are now available in the search filter for any date or datetime fields |
|||
|
|||
Date range types are proposed as a filter operator |
|||
|
|||
.. figure:: https://raw.githubusercontent.com/OCA/server-tools/10.0/date_range/static/description/date_range_type_as_filter.png |
|||
:scale: 80 % |
|||
:alt: Date range type available as filter operator |
|||
|
|||
Once a type is selected, date ranges of this type are porposed as a filter value |
|||
|
|||
.. figure:: https://raw.githubusercontent.com/OCA/server-tools/10.0/date_range/static/description/date_range_as_filter.png |
|||
:scale: 80 % |
|||
:alt: Date range as filter value |
|||
|
|||
And the dates specified into the date range are used to filter your result. |
|||
|
|||
.. figure:: https://raw.githubusercontent.com/OCA/server-tools/10.0/date_range/static/description/date_range_as_filter_result.png |
|||
:scale: 80 % |
|||
:alt: Date range as filter result |
Write
Preview
Loading…
Cancel
Save
Reference in new issue