OdooWiki OCA HUB

FSM Stage Validation

fieldservice_stage_validation folder_open OCA/field-service open_in_new
Field Service License: AGPL-3

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.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Lets you require certain fields to be filled in before a Field Service record can move to a given stage. If a required field is empty, Odoo blocks the change and shows a validation error.

This module adds a rule to Field Service stages: you can choose which fields must be filled in before a record is allowed to enter that stage.

On each stage (for orders, workers, locations or equipment) a new "Fields to Validate" field lets you pick one or more fields from the matching document type. When a user tries to move a record into that stage, Odoo checks those fields. If any of them is empty, the move is refused and a message appears saying the record cannot move to that stage until the field is set.

The check runs automatically on field service orders (fsm.order), workers (fsm.person), locations (fsm.location) and equipment (fsm.equipment) whenever their stage changes. The list of available fields is filtered to the document type of the stage, so you only see relevant fields.

A small technical field stores which document type a stage belongs to, and read-only access is granted so users can see the field list. No new menus are added; the setting appears directly on the stage form.

Depends on

Models and fields (5)
  • fsm.order · extends an existing model
  • fsm.stage · extends an existing modelvalidate_field_ids (Fields to Validate), stage_type_model_name (Model for Stage)
  • fsm.person · extends an existing model
  • fsm.location · extends an existing model
  • fsm.equipment · extends an existing model

Text generated by AI (DeepSeek) from reading the Odoo 19.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 8 confirmed, 1 with no information of 9 versions.

Sources · Odoo 12.0

Confirmed on 2026-11-03 in branch 12.0 of OCA/field-service.

terminal Installation and usage

OCA documentation · Odoo 19.0
  • Go to Field Service \> Configuration \> Stages
  • Create or select a stage
  • Select one or more fields to be validated
  • Follow steps outlined in Configuration.
  • User will receive validation error if a field is not set when attempting to move to a new stage.

No verified information in OCA: Installation.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.