Skip to Content

Stage Guards for Odoo Project | Block Task Transitions Until Conditions Are Met

July 1, 2026 by
CODEerts

Stop a task from entering a stage until it meets your rules, required fields filled, all sub-tasks done, or a custom condition, with a clear block message. A workflow gate for Odoo Project kanban that standard automations cannot enforce.

What it does

Project Stage Guards adds a gate to your kanban. A task cannot enter a stage until it meets the rule you set, required fields filled, sub-tasks done, or a custom condition, so incomplete work never slips into Done or Approved.

Key features

  • Stage guards that block a transition until a rule passes.
  • Required fields rule: the chosen fields must be filled first.
  • Sub-tasks done rule: every sub-task must be closed first.
  • Custom rule via a domain for anything else.
  • Clear block message telling the user exactly what is missing.
  • Project scoping: apply to all projects or only selected ones.

Who it's for

Teams that need an enforceable Definition of Done or approval gate on their Odoo Project kanban, where after-the-fact automation is not enough.

Frequently asked questions

How do I stop a task moving to Done before it is ready in Odoo?

Create a stage guard on the Done stage with a rule such as required fields filled or all sub-tasks done. When someone tries to move a task into that stage without meeting the rule, the move is blocked and a message explains what is missing.

How is this different from Odoo's automation rules?

Base automation runs an action after a record changes. A stage guard runs before the change and can stop it, so it enforces a Definition of Done that automation rules cannot, because they cannot cancel the transition itself.

Can a guard require all sub-tasks to be finished first?

Yes. One of the built-in conditions checks that every sub-task of the task is in a closed stage, so a parent task cannot be closed while its sub-tasks are still open.

Can I apply a guard to only some projects?

Yes. Each guard can apply to all projects or to a specific set of projects you choose, so different teams can have different Definitions of Done.

Which Odoo versions and editions are supported?

Use the version selector at the top of this page to pick your Odoo release. The module builds on the standard Project and base automation apps and runs on Community as well as Enterprise.

Want this in your Odoo?

See the full feature list and screenshots, or talk to our certified Odoo team about setup and customization.

Project Flow Analytics for Odoo | Cycle Time, Sprint Burndown & Cumulative Flow Reports