Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Technical
  3. During Hour Operator v 18.0
  4. Sales Conditions FAQ

During Hour Operator

by Abdallah Salem https://apps.odoo.com/apps/modules/browse?search=Abdallah+salem
Odoo
v 18.0 Third Party 9
Download for v 18.0 Deploy on Odoo.sh
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 192
Technical Name day_hour_operator
LicenseLGPL-3
Websitehttps://apps.odoo.com/apps/modules/browse?search=Abdallah+salem
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 192
Technical Name day_hour_operator
LicenseLGPL-3
Websitehttps://apps.odoo.com/apps/modules/browse?search=Abdallah+salem
Community Enterprise

During Hour Operator

Filter Any Datetime Field By Time Of Day

Time-of-Day Filtering
Timezone Aware
Overnight Ranges
Contact Author

Key Highlights

Time-of-Day Filtering

Filter records by hour ranges regardless of the date. Find all orders created between 9 AM and 5 PM.

Timezone Aware

Automatically converts UTC-stored datetimes to your local timezone for accurate time-of-day filtering.

Overnight Ranges

Supports time ranges that cross midnight, such as 22:00 to 06:00, for night shift analysis.

Works Everywhere

Available on any datetime field in filters, domain selector, and developer tools across all models.

During Hour Operator

Add powerful time-of-day filtering to any Odoo datetime field.
Perfect for analyzing business hours, shift patterns, and time-based workflows.

abdallah@wakeal.com
  • Screenshots
  • Features
  • FAQs
  • Releases

Step 1: Open Filters Menu

Navigate to any list view and click "Filters" then "Add Custom Filter" to access the advanced filtering options. The during hour operator works on any model with datetime fields.

Open Filters Menu

Step 2: Select "During Hour" Operator

Choose a datetime field (e.g. Creation Date), then select the "during hour" operator from the dropdown. This new operator appears automatically on all datetime fields after installing the module.

Select During Hour Operator

Step 3: Set Your Time Range

Use the intuitive time pickers to define your start and end times. The default range is 09:00 AM to 05:00 PM. You can also set overnight ranges like 22:00 to 06:00 for night shift analysis.

Set Time Range

Step 4: View Filtered Results

The filter is applied instantly. An active filter badge shows a human-readable description like "Creation Date is between 10:00 and 18:00" for quick reference. Only records created during the specified hours are displayed.

View Filtered Results

Custom "during hour" operator available on every datetime field in Odoo.

Timezone-aware: automatically converts stored UTC times to your local timezone.

Supports overnight ranges that cross midnight (e.g., 22:00 to 06:00) for night shift analysis.

Intuitive time range picker with HTML5 time inputs for easy start and end time selection.

Default range of 09:00 to 17:00 (standard business hours) for quick filtering.

Human-readable filter descriptions (e.g., "is between 09:00 and 17:00") in the search bar.

Works in both the domain selector and visual tree editor (filters & developer tools).

Compatible with both Odoo Community and Enterprise editions.

FAQ

What datetime fields does this work with?

The "during hour" operator works with any datetime field on any model in Odoo. This includes Creation Date, Write Date, Order Date, Scheduled Date, and any custom datetime fields you may have added.

Does it support overnight time ranges?

Yes! When the start time is greater than the end time (e.g., 22:00 to 06:00), the module automatically uses OR logic to correctly capture records from both before midnight and after midnight. This is perfect for night shift analysis or overnight operations.

How does timezone handling work?

Odoo stores all datetime values in UTC. This module automatically converts stored UTC times to your configured user timezone before applying the time-of-day filter. It respects the timezone set in your user preferences, so filtering for "9 AM to 5 PM" gives you results in your local time.

Does this module require any additional dependencies?

No. This module only depends on the "web" module that comes standard with every Odoo installation. No extra Python packages, system libraries, or external services are required. It works with both frontend JavaScript and a lightweight backend patch.

Does it work with both Community and Enterprise?

Yes! This module is fully compatible with both Odoo Community and Odoo Enterprise editions. It only depends on the core "web" module which is available in both versions. The operator integrates seamlessly with Odoo's standard filter system.

Release 18.0.1.0.0

March, 2026
Add
  • Initial release
  • Custom "during_hour" domain operator for datetime fields
  • Time-of-day range picker UI component
  • Timezone-aware SQL filtering with user timezone conversion
  • Overnight range support (e.g., 22:00 to 06:00)
  • Human-readable filter descriptions in search bar

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.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with