You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
1.9 KiB
47 lines
1.9 KiB
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
|