Fieldservice Availability
fieldservice_availability · OCA/field-service
-
Security25/25No findings
-
Activity25/25Last human commit 4 months ago
-
Required by15/251 module depends on it
-
Maturity25/25In 4 Odoo series since 15.0
Heuristic over the facts below, not an audit · How it's computed
Description
This module defines blackout days (non-operational days), stress days (high-demand periods), and delivery time ranges for field service operations. It provides the necessary models to store this information, which can be used by other modules to manage scheduling, availability, and workload adjustments.
- Blackout Days (`fsm.blackout.day`): Represent dates when field service operations are unavailable (e.g., holidays, company-wide closures).
- Blackout Groups (`fsm.blackout.group`): Represent groups of days when field service operations are unavailable (e.g., holidays, company-wide closures).
- Stress Days (`fsm.stress.day`): Indicate dates with increased service demand (e.g., peak business periods requiring additional workforce).
- Delivery Time Ranges (`fsm.delivery.time.range`): Define available time slots for scheduling field service operations.
- Restricts blackout days for Scheduled Start (ETA) orders with the same date
This module validates Scheduled Start (ETA) dates on field service orders against blackout days configured on their route. Orders with an ETA that falls on a matching blackout day cannot be saved.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 9
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_fsm_blackout_day_form |
fsm.blackout.day.form | fsm.blackout.day | form | New |
view_fsm_blackout_day_tree |
fsm.blackout.day.tree | fsm.blackout.day | list | New |
view_fsm_blackout_group_form |
fsm.blackout.group.form | fsm.blackout.group | form | New |
view_fsm_blackout_group_tree |
fsm.blackout.group.tree | fsm.blackout.group | list | New |
view_fsm_delivery_time_range_form |
fsm.delivery.time.range.form | fsm.delivery.time.range | form | New |
view_fsm_delivery_time_range_tree |
fsm.delivery.time.range.tree | fsm.delivery.time.range | list | New |
view_fsm_route_form_inherit |
fsm.route.form.inherit | fsm.route | form | Inherits fieldservice_route.fsm_route_form |
view_fsm_stress_day_form |
fsm.stress.day.form | fsm.stress.day | form | New |
view_fsm_stress_day_tree |
fsm.stress.day.tree | fsm.stress.day | list | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 6
-
dateDaterequired=Truestring='Blackout Day' -
nameCharrequired=Truestring='Description' -
zipCharhelp='Postal code of the blackout day.'
No public methods.
-
fsm_blackout_day_idsMany2many → fsm.blackout.daystring='Days' args: 'fsm.blackout.day', 'fsm_blackout_group_ids', 'fsm_blackout_group_id', 'fsm_blackout_day_id' -
nameCharrequired=True
No public methods.
-
end_timeFloatrequired=True -
nameCharcompute='_compute_name'store=True -
route_idMany2one → fsm.routehelp='Specific route this time range applies to. Leave empty for global time ranges.'string='Route' args: 'fsm.route' -
sequenceIntegerdefault=10help='Customize the order of time ranges. Lower numbers are shown first.' -
start_timeFloatrequired=True
No public methods.
No new fields.
Public methods (1)-
check_black_out_days(self)@api.constrains('scheduled_date_start', 'location_id')
-
fsm_blackout_group_idsMany2many → fsm.blackout.groupstring='Blackout Group Days' args: 'fsm.blackout.group', 'fsm_route_ids', 'fsm_route_id', 'fsm_blackout_group_id'
No public methods.
-
dateDaterequired=Truestring='Stress Day' -
nameCharrequired=Truestring='Description'
No public methods.
Loading…
Loading…
Loading…
Loading…