TIP: You can type at any time to perform a new search.
FSM Stage Validation
fieldservice_stage_validation · OCA/field-service
- Repository
- OCA/field-service · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Field Service
- Folder size
- 0.08 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/field-service
- Last tracking update
- 2026-08-12 17:29:24
- Authors
- Odoo Community Association (OCA), Brian McMaster
- Maintainers
- Odoo Community Association (OCA), Brian McMaster
- Committers
- Simone Rubino, OCA-git-bot, oca-ci
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- 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.
Code Analysis ⓘ
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)
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (2)
-
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…