Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Project
  3. Project Stage Guards & Workflow Rules | Odoo Task Transition Conditions | Kanban Approval Gates v 19.0
  4. Sales Conditions FAQ

Project Stage Guards & Workflow Rules | Odoo Task Transition Conditions | Kanban Approval Gates

by CODEerts https://www.codeerts.com
Odoo

$ย 69.00

In-App Purchases
v 19.0 Third Party
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Versions 17.0 18.0 19.0
You bought this module and need support? Click here!
Versions 17.0 18.0 19.0
  • Description
  • Manifest
  • License
CODEerts  ยท  Odoo 19

Project Stage Guards & Workflow Rules

Stop a task from entering a stage until it is really ready.
Required fields, sub-tasks done, or a custom rule, with a clear block message.

A workflow gate for your Odoo Project kanban that the built-in automations cannot enforce. No Enterprise edition required.

Stage Guards Definition of Done Required Fields Sub-tasks Done Multi-Company Community Friendly
Block
The Transition
3
Condition Types
Any
Stage
Clear
Block Message
Odoo 19
Compatible

The workflow gap every Odoo team knows

Odoo lets any task move to any stage, ready or not

Half-done work slips into Done

Anyone can drag a task to Done with empty required fields or open sub-tasks. There is no gate to stop it.

Automation runs too late

Odoo automation rules fire after the change. They can react, but they cannot cancel a transition that should not have happened.

No Definition of Done

There is no way to enforce a checklist before a task is allowed to close, so quality depends on everyone remembering.

What this module does

Project Stage Guards adds transition gates to Odoo Project. A stage guard stops a task from moving into a chosen stage until it satisfies a rule: required fields are filled, every sub-task is done, or a custom condition you define, and shows a clear message explaining what is missing.

Guards apply to all projects or only the ones you pick, so a Definition of Done is enforced consistently. Unlike the built-in automation rules, which run actions after a change, a stage guard blocks the change itself, so incomplete work never slips into Done or Approved.

๐Ÿ›ก
Block, Do Not Just React

A guard stops the transition itself. Incomplete work cannot enter the stage, which base automation cannot enforce.

โœ…
Three Ready-Made Rules

Require chosen fields to be filled, require every sub-task to be done, or write a custom condition as a domain.

๐Ÿ’ฌ
Tells the User Why

When a move is blocked, a clear, configurable message explains exactly what is missing, so nobody is left guessing.

๐Ÿšฆ Stage Guards

Block a task from entering a chosen stage until it passes the rule you set on that guard.

๐Ÿ“ Required Fields Rule

Pick the fields that must be filled, for example a deadline or an assignee, before the task may move.

๐Ÿ—‚ Sub-tasks Done Rule

A parent task cannot close while any of its sub-tasks is still open, so nothing is left behind.

๐ŸŽฏ Custom Rule (Domain)

Need something specific? Write any condition as a domain and the guard enforces it before the move.

๐Ÿ—„ Per-Project Scope

Apply a guard to every project or only to selected ones, so each team can have its own rules.

๐Ÿข Multi-Company Ready

A guard can apply to one company or all of them, with record rules keeping each company to its own guards.

๐Ÿ’ฌ Configurable Message

Write the exact message a user sees when a guard blocks a move, so the reason is always clear.

๐Ÿงฉ Builds on Standard Project

Adds to Project and base automation, runs on Community as well as Enterprise, and changes none of your data.

How it works

1
Create a stage guard

In Project configuration, add a guard and choose the target stage it protects, for example Done or Approved.

2
Pick the rule

Choose required fields, all sub-tasks done, or a custom domain, and write the message shown when it blocks.

3
Scope it

Leave it global or limit it to specific projects and, in a multi-company database, to a specific company.

4
The gate does the rest

When someone tries to move a task into the guarded stage without meeting the rule, the move is blocked with your message.

Screenshot walkthrough

Stop a task from moving on until it is truly ready.

Step 1 of 4 All your stage rules in one place

Every guard in one list: which stage it protects, what it checks, and which company and projects it applies to.

All your stage rules in one place
Step 2 of 4 Require the right fields first

A required-fields guard blocks a task from entering a stage until the fields you choose, a deadline, an assignee, are filled in.

Require the right fields first
Step 3 of 4 Close only when the sub-tasks are done

A sub-tasks guard stops a parent task reaching a closed stage while any of its sub-tasks is still open.

Close only when the sub-tasks are done
Step 4 of 4 Write your own rule

A domain guard lets you express any condition on the task, so you can enforce a policy unique to your team, with a custom block message when it is not met.

Write your own rule

Technical information

Version
19.0
License
OPL-1
Editions
Community & Enterprise
Dependencies
project, base_automation

Technical name: codeerts_project_automation   ยท   Adds: stage guards with required-fields, sub-tasks-done and custom-domain rules

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 or companies?

Yes. Each guard can apply to all projects or a specific set you choose, and in a multi-company database it can be scoped to one company or left to apply everywhere.

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 works on both Community and Enterprise.

The team behind this module

About CODEerts

Full-Service Odoo ERP Agency  ยท  Solutions That Scale

Every module in our store is built from real client work, tested in production and maintained long-term by a team of Odoo certified consultants. When you need more than an app, we deliver the full solution.

๐Ÿ—๏ธ Implementation

Full Odoo roll-outs from requirements to go-live, across any industry and company size.

๐Ÿงฉ Custom Development

Bespoke modules, OWL components and business logic built precisely to your workflow.

๐Ÿ”„ Migrations

Zero-data-loss upgrades from older Odoo versions with full custom module porting.

๐Ÿ”Œ Integrations

Payment gateways, shipping carriers, biometric devices, eCommerce and third-party APIs.

๐Ÿ” Odoo Audits

Performance, security and code-quality reviews that surface risks before they become problems.

๐Ÿง‘โ€๐Ÿ’ป Support & Training

Ongoing helpdesk, user training and monthly retainers so your team stays productive.

Odoo
Certified
6+
Years
50+
Projects
10+
Industries
40+
Published Apps

Need Help?

Questions, customization requests, or bug reports. We respond fast.

Email Us
Support

CODEerts  ยท  Response within 1-2 business days

Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Project (project)
• Discuss (mail)
Lines of code 163
Technical Name codeerts_project_automation
LicenseOPL-1
Websitehttps://www.codeerts.com
Odoo Proprietary License v1.0

This software and associated files (the "Software") may only be used (executed,
modified, executed after modifications) if you have purchased a valid license
from the authors, typically via Odoo Apps, or if you have received a written
agreement from the authors of the Software (see the COPYRIGHT file).

You may develop Odoo modules that use the Software as a library (typically
by depending on it, importing it and using its resources), but without copying
any source code or material from the Software. You may distribute those
modules under the license of your choice, provided that this license is
compatible with the terms of the Odoo Proprietary License (For example:
LGPL, MIT, or proprietary licenses similar to this one).

It is forbidden to publish, distribute, sublicense, or sell copies of the Software
or modified copies of the Software.

The above copyright notice and this permission notice must be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal โ€ข Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with