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.

108 lines
3.0 KiB

9.0 add date range Sorrento Delivery * [ADD] Basic structure for the new date range module * [IMP] Add a basic description into the README * [IMP] Basic implementation * [IMP] First working implementation * [IMP] Improve datamodel * [ADD] Add basic tests for date.range * [PEP8] * [PYLINT] * [DEL] Remove unused code * [IMP] Remove unsused dependencies into the JS * [IMP] Better operator label for date range * [DEL] Remove unused file * [IMP] Better user experience by showing the select input only once empty * [FIX]Try to fix tests that fails only on travis by adding an explicit cast on the daterange methods parameters * [FIX]Try to fix tests that fails only on travis by adding an explicit cast on the daterange methods parameters * [FIX]Try to fix tests that fails only on travis by using postgresql 9.4 * [FIX]Try with postgresql 9.2 since the daterange method has appeared in 9.2 * [IMP] Add a limitation into the module description to warm about the minimal version of postgresql to use * [IMP]Add multi-company rules * [IMP]Remove unused files * [FIX] Add missing brackets into JS * [FIX] Overlap detection when company_id is False * [IMP] Add default order for date.range * [IMP] Add date range generator * [FIX] OE compatibility * [FIX] Travis * [IMP] Code cleanup and improves test coverage * [FIX] Add missing dependency on 'web' * [PYLINT] remove unused import * [FIX] Add missing copyright * [FIX] Limits are included into the range * [IMP][date_range] Security * [IMP] Improve module description * [IMP] Spelling
9 years ago
9.0 add date range Sorrento Delivery * [ADD] Basic structure for the new date range module * [IMP] Add a basic description into the README * [IMP] Basic implementation * [IMP] First working implementation * [IMP] Improve datamodel * [ADD] Add basic tests for date.range * [PEP8] * [PYLINT] * [DEL] Remove unused code * [IMP] Remove unsused dependencies into the JS * [IMP] Better operator label for date range * [DEL] Remove unused file * [IMP] Better user experience by showing the select input only once empty * [FIX]Try to fix tests that fails only on travis by adding an explicit cast on the daterange methods parameters * [FIX]Try to fix tests that fails only on travis by adding an explicit cast on the daterange methods parameters * [FIX]Try to fix tests that fails only on travis by using postgresql 9.4 * [FIX]Try with postgresql 9.2 since the daterange method has appeared in 9.2 * [IMP] Add a limitation into the module description to warm about the minimal version of postgresql to use * [IMP]Add multi-company rules * [IMP]Remove unused files * [FIX] Add missing brackets into JS * [FIX] Overlap detection when company_id is False * [IMP] Add default order for date.range * [IMP] Add date range generator * [FIX] OE compatibility * [FIX] Travis * [IMP] Code cleanup and improves test coverage * [FIX] Add missing dependency on 'web' * [PYLINT] remove unused import * [FIX] Add missing copyright * [FIX] Limits are included into the range * [IMP][date_range] Security * [IMP] Improve module description * [IMP] Spelling
9 years ago
9.0 add date range Sorrento Delivery * [ADD] Basic structure for the new date range module * [IMP] Add a basic description into the README * [IMP] Basic implementation * [IMP] First working implementation * [IMP] Improve datamodel * [ADD] Add basic tests for date.range * [PEP8] * [PYLINT] * [DEL] Remove unused code * [IMP] Remove unsused dependencies into the JS * [IMP] Better operator label for date range * [DEL] Remove unused file * [IMP] Better user experience by showing the select input only once empty * [FIX]Try to fix tests that fails only on travis by adding an explicit cast on the daterange methods parameters * [FIX]Try to fix tests that fails only on travis by adding an explicit cast on the daterange methods parameters * [FIX]Try to fix tests that fails only on travis by using postgresql 9.4 * [FIX]Try with postgresql 9.2 since the daterange method has appeared in 9.2 * [IMP] Add a limitation into the module description to warm about the minimal version of postgresql to use * [IMP]Add multi-company rules * [IMP]Remove unused files * [FIX] Add missing brackets into JS * [FIX] Overlap detection when company_id is False * [IMP] Add default order for date.range * [IMP] Add date range generator * [FIX] OE compatibility * [FIX] Travis * [IMP] Code cleanup and improves test coverage * [FIX] Add missing dependency on 'web' * [PYLINT] remove unused import * [FIX] Add missing copyright * [FIX] Limits are included into the range * [IMP][date_range] Security * [IMP] Improve module description * [IMP] Spelling
9 years ago
  1. .. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
  2. :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
  3. :alt: License: AGPL-3
  4. ==========
  5. Date Range
  6. ==========
  7. This module lets you define global date ranges that can be used to filter
  8. your values in tree views.
  9. Usage
  10. =====
  11. To configure this module, you need to:
  12. * Go to Settings > Technical > Date ranges > Date Range Types where
  13. you can create types of date ranges.
  14. .. figure:: static/description/date_range_type_create.png
  15. :scale: 80 %
  16. :alt: Create a type of date range
  17. * Go to Settings > Technical > Date ranges > Date Ranges where
  18. you can create date ranges.
  19. .. figure:: static/description/date_range_create.png
  20. :scale: 80 %
  21. :alt: Date range creation
  22. It's also possible to launch a wizard from the 'Generate Date Ranges' menu.
  23. .. figure:: static/description/date_range_wizard.png
  24. :scale: 80 %
  25. :alt: Date range wizard
  26. The wizard is useful to generate recurring periods.
  27. .. figure:: static/description/date_range_wizard_result.png
  28. :scale: 80 %
  29. :alt: Date range wizard result
  30. * Your date ranges are now available in the search filter for any date or datetime fields
  31. Date range types are proposed as a filter operator
  32. .. figure:: static/description/date_range_type_as_filter.png
  33. :scale: 80 %
  34. :alt: Date range type available as filter operator
  35. Once a type is selected, date ranges of this type are porposed as a filter value
  36. .. figure:: static/description/date_range_as_filter.png
  37. :scale: 80 %
  38. :alt: Date range as filter value
  39. And the dates specified into the date range are used to filter your result.
  40. .. figure:: static/description/date_range_as_filter_result.png
  41. :scale: 80 %
  42. :alt: Date range as filter result
  43. .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
  44. :alt: Try me on Runbot
  45. :target: https://runbot.odoo-community.org/runbot/250/11.0
  46. Known issues / Roadmap
  47. ======================
  48. * The addon use the daterange method from postgres. This method is supported as of postgresql 9.2
  49. Bug Tracker
  50. ===========
  51. Bugs are tracked on `GitHub Issues
  52. <https://github.com/OCA/server-ux/issues>`_. In case of trouble, please
  53. check there if your issue has already been reported. If you spotted it first,
  54. help us smashing it by providing a detailed and welcomed feedback.
  55. Credits
  56. =======
  57. Images
  58. ------
  59. * Odoo Community Association: `Icon <https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg>`_.
  60. Contributors
  61. ------------
  62. * Laurent Mignon <laurent.mignon@acsone.eu>
  63. Maintainer
  64. ----------
  65. .. image:: https://odoo-community.org/logo.png
  66. :alt: Odoo Community Association
  67. :target: https://odoo-community.org
  68. This module is maintained by the OCA.
  69. OCA, or the Odoo Community Association, is a nonprofit organization whose
  70. mission is to support the collaborative development of Odoo features and
  71. promote its widespread use.
  72. To contribute to this module, please visit https://odoo-community.org.