Project Key
project_key · OCA/project
Health
80/100
good
-
Security25/25No findings
-
Activity25/25Last human commit 1 month ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 9 Odoo series since 11.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
LGPL-3
No conflicts with its dependencies
Folder size
0.08 MB
Module directory on disk
Code analysis
0 migration notes
2 models
8 views
2 HTTP endpoints
Description
This module provides functionality to uniquely identify projects and
tasks by simple key field.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 8
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
edit_project_extend_with_key |
project.edit.project.inherited | project.project | Inherits project.edit_project | |
project_project_view_form_simplified |
project.project.view.form.simplified | project.project | form | Inherits project.project_project_view_form_simplified |
view_project_extend_with_key |
project.project.list | project.project | list | Inherits project.view_project |
view_project_project_filter_extend_with_key |
project.project.select | project.project | Inherits project.view_project_project_filter | |
view_task_form2_extend_with_key |
project.task.form.key | project.task | form | Inherits project.view_task_form2 |
view_task_kanban_key |
project.task.kanban.key | project.task | kanban | Inherits project.view_task_card |
view_task_search_key |
project.task.search.key | project.task | search | Inherits project.view_task_search_form |
view_task_tree2_extend_with_key |
project.task.list | project.task | list | Inherits project.view_task_tree2 |
HTTP endpoints 2
| Route(s) | Handler | Auth | Type | Methods | Flags |
|---|---|---|---|---|---|
/projects/<string:key> |
ProjectBrowser.open_project |
user | http | ALL | |
/tasks/<string:key> |
ProjectBrowser.open_task |
user | http | ALL |
Models touched 2
New fields (3)
-
keyCharcopy=Falseindex=Truesize=10 -
show_key_warningBooleancompute='_compute_show_key_warning'store=False -
task_key_sequence_idMany2one → ir.sequencecomodel_name='ir.sequence'ondelete='restrict'string='Key Sequence'
-
create(self, vals_list)@api.model_create_multi -
create_sequence(self)This method creates ir.sequence fot the current project :return: Returns create sequence -
generate_project_key(self, text) -
get_next_task_key(self) -
unlink(self) -
update_sequence(self)This method updates existing task sequence :return: -
write(self, values)
New fields (2)
-
keyCharindex=Truesize=20 -
urlCharcompute='_compute_task_url'string='URL'
-
create(self, vals_list)@api.model_create_multi -
prepare_task_for_project_switch(self, task, project) -
write(self, vals)
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…