Skip to content

Conversation

bizzappdev
Copy link
Contributor

This module enhances the user experience in Odoo by introducing two dynamic filters, Created Today and Updated Today, to the search views of models that include create_date and/or write_date fields. These filters enable users to filter records created or modified on the current date quickly.

Configuration
No configuration is required from the Odoo user interface.
Once installed, the functionality is automatically activated across applicable models.

Usage

  • Open any list view for a model that includes create_date or write_date (e.g., Sales Orders, Contacts, Tasks, Invoices).
  • In the search bar, you'll find:
  • Updated Today – filters records with write_date set to today.
  • Created Today – filters records with create_date set to today.
  • Click on a filter to apply it.

For models lacking a create_date field, override the class attribute self._search_today_create_fields to use an alternative datetime field in your bridged module.
For example, in queue.job, this can be set as:

    _search_today_create_fields = 'date_created'

@bizzappdev bizzappdev marked this pull request as ready for review July 1, 2025 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant