Skip to Content
Menu

DatetimeFilter Panel

by
Odoo
v 17.0 Third Party 49
Download for v 17.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 404
Technical Name datetime_filter
LicenseLGPL-3
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 404
Technical Name datetime_filter
LicenseLGPL-3

DatetimeFilter App for Odoo

The DatetimeFilter app for Odoo allows you to filter records based on a selected date range. This feature adds a datetime panel to the control panel, where you can easily pick a date range and filter records that fall within that range. This tool is particularly useful for managing records with datetime fields and improving data accessibility within Odoo.

How the DatetimeFilter Works:

  1. Datetime Panel in the Control Panel: A datetime filter panel will appear in your Odoo control panel. This panel allows you to select a start and end date, specifying the date range you want to filter records by.
  2. Select Date Range: Use the panel to choose a date range. Once you select the start and end dates, the app will filter the records and display only those that fall within the specified range.
  3. Apply Filter to Records: After selecting the date range, the app will automatically filter all relevant records that match the datetime criteria. This helps you to narrow down your results and focus on the records you need.

Optional Context Action Settings:

In context actions, you can add the following code to customize the datetime filter:

            {default_dt_field: 'sign_date', search_by_field_date: ['sign_date', 'start_date', 'end_date']}
        
  • default_dt_field: This is the default datetime field to filter by (e.g., 'sign_date').
  • search_by_field_date: This is an optional list of datetime fields you want to use for filtering (e.g., ['sign_date', 'start_date', 'end_date']). If not specified, all datetime fields will be available for filtering.

By configuring these settings, you can fine-tune how the datetime filter applies to your records, ensuring it works seamlessly with your data structure.

Note: Make sure the selected datetime fields are properly configured in your models for the filter to work correctly. If no datetime fields are provided, the filter will apply to all datetime fields available in the records.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.