Skip to main content

Restrict project task stage

Project description

Odoo Community Association

Project Task Stage Change Restriction

Beta License: AGPL-3 OCA/project Translate me on Weblate Try me on Runboat

This module allows specifying which users or groups can move a task to a specific stage.

Table of contents

Use Cases / Context

There may be cases where you want to prevent certain users from moving a task into specific stages. For example, developers can move tasks to the “Review” stage, but only a project manager can move a task to the “Done” or “Cancel” stages.

Configuration

The Task Stages menu is only visible when Odoo is in developer mode. Please turn on developer mode before proceeding.

Go to “Project > Configuration > Task Stages” and select or create a new task stage. Configure the following fields in the “Stage Change Restriction” group:

  • Assigned Only If enabled, only users assigned to the task can move it into this stage.

  • Project Manager If enabled, only the manager of the project this task belongs to can move it.

  • Group Members Select groups whose members can move tasks into this stage.

Please be advised, that selected conditions are evaluated using the “OR” principle. So, a user should satisfy any of the selected conditions.

NB: restrictions are not applied if a stage is being changed by a superuser.

Usage

Try to move a task to a restricted stage. If your user doesn’t satisfy the stage-allowance conditions, the following access error will be raised:
“Sorry, you are not allowed to move the task ‘<task_name>’ into the stage ‘<stage_name>’.”

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Cetmix

Contributors

Cetmix <cetmix.com> Ivan Sokolov Andrei Loukachov

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

This module is part of the OCA/project project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file odoo_addon_project_task_stage_change_restriction-16.0.1.0.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo_addon_project_task_stage_change_restriction-16.0.1.0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 17f8ac1fbbbb56b5c5ffee707d53fa3710a7818865bf0cbd1ac76dceeb5e05fa
MD5 e2ab37eacb2f00f1e67a496cab22d79b
BLAKE2b-256 05b2a026ee67e02670694150817147a827ee03fc838237da1c69c1c11f390a01

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page