test_base_time_window
This module provides unit tests for the base_time_window module.
Key Features
- time.window.mixin: Allows creation of time windows with specified start and end times on specific weekdays
- time.window.mixin: Automatically removes time windows when the associated partner is deleted
- time.window.mixin: Prevents creation of overlapping time windows for the same partner on the same day
- time.window.mixin: Allows creation of overlapping time windows for the same partner on different days
- time.window.mixin: Allows identical time windows for different partners
- time.window.mixin: Validates that the end time is after the start time
- time.window.mixin: Prevents changing the partner of a time window if it would cause an overlap
- time.window.mixin: Validates that start and end hours are between 0 and 23
- res.partner: Extends partners with time window relationships
- res.partner: Provides functionality to retrieve delivery windows by day