Repository
OCA/project · module folder · Try on Runboat
Module version
1.0.0
Category
Project Management
Folder size
0.05 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/project
Last tracking update
2026-08-07 09:06:22
Authors
Odoo Community Association (OCA), Cetmix
Maintainers
Odoo Community Association (OCA), Cetmix
Committers
Weblate, OCA-git-bot, oca-ci, Wesley Oliveira
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
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 form Inherits project_task_pull_request.edit_project
res_config_settings_view_form res.config.settings.view.form.pr.state res.config.settings form Inherits project.res_config_settings_view_form
view_task_form2 project.project.form project.task form Inherits project.view_task_form2
view_task_search_form Project.task.pr.state.search project.task search Inherits project.view_task_search_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

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.

Loading…

Loading…