FSM Stage Validation
fieldservice_stage_validation · OCA/field-service
-
Security25/25No findings
-
Activity25/25Last human commit 4 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 8 Odoo series since 12.0
Heuristic over the facts below, not an audit · How it's computed
Description
As the stage of a field service document progresses, it may be important for specific fields of the document be completed.
For example, when a field service order enters the 'Complete' stage, the fields for 'Actual End Date' and/or 'Resolution Notes' should be set.
This module allows you to raise a Validation Error if the designated fields are not set when moving to a new stage. Since stages can be used for field service orders, workers, locations, or equipments, this logic is available to be applied to each document type.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 1
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
fsm_stage_form_view_inherit_validation |
fsm.stage.validation.form | fsm.stage | form | Inherits fieldservice.fsm_stage_form_view |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 5
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (0)No public methods.
-
stage_type_model_nameCharcompute='_compute_stage_model'help='Technical field to hold model type'string='Model for Stage' -
validate_field_idsMany2many → ir.model.fieldshelp='Select fields which must be set on the document in this stage'string='Fields to Validate' args: 'ir.model.fields'
No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…