Skip to content
Health
80/100
good
  • Security25/25
    No findings
  • Activity25/25
    Human commit this month
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 4 Odoo series since 16.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.06 MB
Module directory on disk
Code analysis 0 migration notes 3 models 4 views 0 HTTP endpoints

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

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

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…

Loading…