Project Task Pull Request State
project_task_pull_request_state · OCA/project
Health
80/100
good
-
Security25/25No findings
-
Activity25/25Human commit this month
-
Required by5/250 modules depend on it
-
Maturity25/25In 4 Odoo series since 16.0
Heuristic over the facts below, not an audit · How it's computed
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
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 4
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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_defaultSelectionhelp='Default PR state that will be set when PR URI is added to a task in this project'selection=<expr>string='Default PR State'
No public methods.
New fields (1)
-
pr_stateSelectioncompute='_compute_pr_state'copy=Falseprecompute=Truereadonly=Falseselection=<expr>store=Truestring='PR State'tracking=True
-
selection_pr_state(self)Function to select the state of the pull request
New fields (1)
-
pr_state_defaultSelectionconfig_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'
No public methods.
Loading…
Loading…
Loading…