Project Task Pull Request State

project_task_pull_request_state
REPOSITORY
REPOSITORYOCA/project
GIT
GIThttps://github.com/OCA/project.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/project/tree/19.0/project_task_pull_request_state
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYProject Management
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, Wesley Oliveira
WEBSITE
WEBSITEhttps://github.com/OCA/project
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:40:49
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/project:
    - project_task_pull_request
odoo/odoo:
    - project
    - analytic
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
    - uom
    - portal
    - http_routing
    - auth_signup
    - rating
    - resource
    - digest
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module extends functionality of the project_task_pull_request
module. It adds a "State" field to Task alongside with PR URI field.

Following pre-defined states are available: "Draft", "Open", "Merged",
"Closed". You can add or modify this list easily by overriding the
"selection_pr_state" function in the "project.task" model

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
edit_project project.project.form project.project xpath Inherits project_task_pull_request.edit_project
res_config_settings_view_form res.config.settings.view.form.pr.state res.config.settings xpath Inherits project.res_config_settings_view_form
view_task_form2 project.project.form project.task xpath Inherits project.view_task_form2
view_task_search_form Project.task.pr.state.search project.task xpath Inherits project.view_task_search_form
Models touched (3)

New fields (1)
  • pr_state_default Selection
    help='Default PR state that will be set when PR URI is added to a task in this project' selection=<expr> string='Default PR State'
Public methods (0)

No public methods.

New fields (1)
  • pr_state Selection
    compute='_compute_pr_state' copy=False precompute=True readonly=False selection=<expr> store=True string='PR State' tracking=True
Public methods (1)
  • selection_pr_state(self)
    Function to select the state of the pull request

New fields (1)
  • pr_state_default Selection
    config_parameter='project_task_pull_request_state.pr_state_default' help='Default PR state that will be set when PR URI is added to a task in this project' selection=<expr> string='Default PR State'
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/18.0/project_task_pull_request_state
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYProject Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Cetmix
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Cetmix
COMMITTERS
COMMITTERSOCA-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 OCA/project:
    - project_task_pull_request
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 extends functionality of the project_task_pull_request
module. It adds a "State" field to Task alongside with PR URI field.

Following pre-defined states are available: "Draft", "Open", "Merged",
"Closed". You can add or modify this list easily by overriding the
"selection_pr_state" function in the "project.task" model

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
edit_project project.project.form project.project xpath Inherits project_task_pull_request.edit_project
res_config_settings_view_form res.config.settings.view.form.pr.state res.config.settings xpath Inherits project.res_config_settings_view_form
view_task_form2 project.project.form project.task xpath Inherits project.view_task_form2
view_task_search_form Project.task.pr.state.search project.task xpath Inherits project.view_task_search_form
Models touched (3)

New fields (1)
  • pr_state_default Selection
    help='Default PR state that will be set when PR URI is added to a task in this project' selection=<expr> string='Default PR State'
Public methods (0)

No public methods.

New fields (1)
  • pr_state Selection
    compute='_compute_pr_state' copy=False precompute=True readonly=False selection=<expr> store=True string='PR State' tracking=True
Public methods (1)
  • selection_pr_state(self)
    Function to select the state of the pull request

New fields (1)
  • pr_state_default Selection
    config_parameter='project_task_pull_request_state.pr_state_default' help='Default PR state that will be set when PR URI is added to a task in this project' selection=<expr> string='Default PR State'
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_pull_request_state
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYProject Management
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, Ivan Sokolov
WEBSITE
WEBSITEhttps://github.com/OCA/project
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:49
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/project:
    - project_task_pull_request
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

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
edit_project project.project.form project.project xpath Inherits project_task_pull_request.edit_project
res_config_settings_view_form res.config.settings.view.form.pr.state res.config.settings xpath Inherits project.res_config_settings_view_form
view_task_form2 project.project.form project.task xpath Inherits project.view_task_form2
view_task_search_form Project.task.pr.state.search project.task xpath Inherits project.view_task_search_form
Models touched (3)

New fields (1)
  • pr_state_default Selection
    help='Default PR state that will be set when PR URI is added to a task in this project' selection=<expr> string='Default PR State'
Public methods (0)

No public methods.

New fields (1)
  • pr_state Selection
    compute='_compute_pr_state' copy=False precompute=True readonly=False selection=<expr> store=True string='PR State' tracking=True
Public methods (1)
  • selection_pr_state(self)
    Function to select the state of the pull request

New fields (1)
  • pr_state_default Selection
    config_parameter='project_task_pull_request_state.pr_state_default' help='Default PR state that will be set when PR URI is added to a task in this project' selection=<expr> string='Default PR State'
Public methods (0)

No public methods.