Project Task Stage Change Restriction

project_task_stage_change_restriction
REPOSITORY
REPOSITORYOCA/project
GIT
GIThttps://github.com/OCA/project.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/project/tree/18.0/project_task_stage_change_restriction
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYProject
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Cetmix
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Cetmix
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Mohajiro
WEBSITE
WEBSITEhttps://github.com/OCA/project
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:14
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - project
    - analytic
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
    - uom
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - rating
    - resource
    - digest
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module allows specifying which users or groups can move a task to a specific stage.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_project_task_type_form_restriction project.task.type.form.restriction project.task.type xpath Inherits project.task_type_edit
Models touched (2)

New fields (0)

No new fields.

Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
    Override create() to enforce stage restrictions on new tasks. :param vals_list: list of dicts of values for each record :return: the newly created recordset
  • write(self, vals)
    Override write() to enforce stage‐change restrictions.

New fields (3)
  • allow_assigned_only Boolean
    string='Assigned Only'
  • allow_group_ids Many2many → res.groups
    string='Group Members' args: 'res.groups', 'project_task_stage_allowed_group_rel', 'stage_id', 'group_id'
  • allow_project_manager Boolean
    string='Project Manager'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/project
GIT
GIThttps://github.com/OCA/project.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/project/tree/16.0/project_task_stage_change_restriction
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYProject
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Cetmix
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Cetmix
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Mohajiro
WEBSITE
WEBSITEhttps://github.com/OCA/project
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:12:01
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - project
    - analytic
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - rating
    - resource
    - digest
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module allows specifying which users or groups can move a task to a specific stage.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_project_task_type_form_restriction project.task.type.form.restriction project.task.type xpath Inherits project.task_type_edit
Models touched (2)

New fields (0)

No new fields.

Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
    Override create() to enforce stage restrictions on new tasks. :param vals_list: list of dicts of values for each record :return: the newly created recordset
  • write(self, vals)
    Override write() to enforce stage‐change restrictions.

New fields (3)
  • allow_assigned_only Boolean
    string='Assigned Only'
  • allow_group_ids Many2many → res.groups
    string='Group Members' args: 'res.groups', 'project_task_stage_allowed_group_rel', 'stage_id', 'group_id'
  • allow_project_manager Boolean
    string='Project Manager'
Public methods (0)

No public methods.