Skip to content

[19.0][IMP] base_kanban_stage: required fields per stage - #3899

Open
AaronHForgeFlow wants to merge 1 commit into
OCA:19.0from
ForgeFlow:19.0-imp-base_kanban_stage-required-fields
Open

AaronHForgeFlow wants to merge 1 commit into
OCA:19.0from
ForgeFlow:19.0-imp-base_kanban_stage-required-fields

Conversation

@AaronHForgeFlow

@AaronHForgeFlow AaronHForgeFlow commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Lets each stage list the fields a record must have set before it can enter the stage, so a workflow can enforce its data without custom code per model.

  • New Required Fields on base.kanban.stage (stored fields of the stage's model), on the stage form and list.
01_stage_required_fields
  • base.kanban.abstract checks them with a constraint on stage_id, so moving a record from the status bar, by kanban drag and drop or from code raises an error listing the empty fields. Records already in the stage are not checked again.
02_stage_validation_error

Lets each stage list the fields a record must have set before it can enter
the stage, so a workflow can enforce its data without custom code per
model. The check is a constraint on stage_id, so it covers the status bar,
kanban drag and drop and code alike.
@AaronHForgeFlow
AaronHForgeFlow force-pushed the 19.0-imp-base_kanban_stage-required-fields branch from 5c64333 to 148525d Compare December 2, 2026 15:30
@OCA-git-bot OCA-git-bot added series:19.0 mod:base_kanban_stage Module base_kanban_stage labels Dec 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:base_kanban_stage Module base_kanban_stage series:19.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants