日期范围
 
应用简介
分类标签
详细信息
技术名称:date_range
支持版本:9.0, 10.0
开发者名称:ACSONE SA/NV
模块下载
 
License: AGPL-3

Date Range

This module lets you define global date ranges that can be used to filter your values in tree views.

Usage

To configure this module, you need to:

  • Go to Settings > Technical > Date ranges > Date Range Types where you can create types of date ranges.

    Create a type of date range
  • Go to Settings > Technical > Date ranges > Date Ranges where you can create date ranges.

    Date range creation

    It's also possible to launch a wizard from the 'Generate Date Ranges' menu.

    Date range wizard

    The wizard is useful to generate recurring periods.

    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

    Date range type available as filter operator

    Once a type is selected, date ranges of this type are porposed as a filter value

    Date range as filter value

    And the dates specified into the date range are used to filter your result.

    Date range as filter result
Try me on Runbot

Known issues / Roadmap

  • The addon use the daterange method from postgres. This method is supported as of postgresql 9.2

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback.

Credits

Images

  • Odoo Community Association: Icon.

Contributors

Maintainer

Odoo Community Association

This module is maintained by the OCA.

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

To contribute to this module, please visit https://odoo-community.org.