中国本土应用
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.

55 lines
2.5KB

  1. To configure this module, you need to:
  2. * Go to Settings > Technical > Date ranges > Date Range Types where
  3. you can create types of date ranges.
  4. .. figure:: https://raw.githubusercontent.com/OCA/server-tools/14.0/date_range/static/description/date_range_type_create.png
  5. :scale: 80 %
  6. :alt: Create a type of date range
  7. * Go to Settings > Technical > Date ranges > Date Ranges where
  8. you can create date ranges.
  9. .. figure:: https://raw.githubusercontent.com/OCA/server-tools/14.0/date_range/static/description/date_range_create.png
  10. :scale: 80 %
  11. :alt: Date range creation
  12. It's also possible to launch a wizard from the 'Generate Date Ranges' menu.
  13. .. figure:: https://raw.githubusercontent.com/OCA/server-tools/14.0/date_range/static/description/date_range_wizard.png
  14. :scale: 80 %
  15. :alt: Date range wizard
  16. The wizard is useful to generate recurring periods. Set an end date or enter the number of ranges to create.
  17. .. figure:: https://raw.githubusercontent.com/OCA/server-tools/14.0/date_range/static/description/date_range_wizard_result.png
  18. :scale: 80 %
  19. :alt: Date range wizard result
  20. * Your date ranges are now available in the search filter for any date or datetime fields
  21. Date range types are proposed as a filter operator
  22. .. figure:: https://raw.githubusercontent.com/OCA/server-tools/14.0/date_range/static/description/date_range_type_as_filter.png
  23. :scale: 80 %
  24. :alt: Date range type available as filter operator
  25. Once a type is selected, date ranges of this type are porposed as a filter value
  26. .. figure:: https://raw.githubusercontent.com/OCA/server-tools/14.0/date_range/static/description/date_range_as_filter.png
  27. :scale: 80 %
  28. :alt: Date range as filter value
  29. And the dates specified into the date range are used to filter your result.
  30. .. figure:: https://raw.githubusercontent.com/OCA/server-tools/14.0/date_range/static/description/date_range_as_filter_result.png
  31. :scale: 80 %
  32. :alt: Date range as filter result
  33. * You can configure date range types with default values for the generation wizard on the `Generation` tab.
  34. In the same tab you can also configure date range types for auto-generation. New ranges for types configured for this are generated by a scheduled task that runs daily.
  35. .. figure:: https://raw.githubusercontent.com/OCA/server-tools/14.0/date_range/static/description/date_range_type_autogeneration.png
  36. :scale: 80 %
  37. :alt: Configure a date range for auto-generaton
上海开阖软件有限公司 沪ICP备12045867号-1