Project HR
project_hr · OCA/project
Health
80/100
good
-
Security25/25No findings
-
Activity25/25Human commit this month
-
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
AGPL-3
No conflicts with its dependencies
Folder size
0.1 MB
Module directory on disk
Code analysis
0 migration notes
4 models
6 views
0 HTTP endpoints
Description
This is a technical module for adding some HR information to projects and provide technical fields with HR information:
- Employee categories at project and task level.
- Employee linked to the user assigned to a task.
- Employee categories at user level.
These fields can be used later for extra features like task scheduling or security restrictions.
It also provides some facilities on project management:
- Limit selection of assigned users according selected employee category at task level.
- Limit selection of employee categories at task level depending on the selected categories at project level. All are shown if no categories at project level.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 6
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
edit_project |
Project form: Add employee categories | project.project | Inherits project.edit_project | |
project_task_view_activity |
project.task.activity | project.task | activity | Inherits project.project_task_view_activity |
quick_create_task_form |
project.task.form.quick_create | project.task | form | Inherits project.quick_create_task_form |
view_task_form2 |
Project task form: Add linked employee and Employee category | project.task | Inherits project.view_task_form2 | |
view_task_kanban |
project.task.kanban | project.task | kanban | Inherits project.view_task_kanban |
view_task_tree2 |
project.task.tree | project.task | tree | Inherits project.view_task_tree2 |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 4
New fields (0)
No new fields.
Public methods (1)-
create(self, vals_list)@api.model_create_multi
New fields (1)
-
hr_category_idsMany2many → hr.employee.categorycomodel_name='hr.employee.category'help='Here you can link the project to several employee categories, that will be the allowed in tasks.'string='Employee Categories'
No public methods.
New fields (5)
-
domain_hr_category_idsBinarycompute='_compute_domain_hr_category_ids'compute_sudo=True -
domain_user_idsBinarycompute='_compute_domain_user_ids'compute_sudo=True -
employee_idsMany2many → hr.employeecomodel_name='hr.employee'compute='_compute_employee_ids'compute_sudo=Truestore=Truestring='Linked employees' -
hr_category_idsMany2many → hr.employee.categorycomodel_name='hr.employee.category'domain='domain_hr_category_ids'help='Here you can select the employee category suitable to perform this task, limiting the selectable users to be assigned to those that belongs to that category.'string='Employee Categories' -
user_idsMany2manydomain='domain_user_ids'
-
TASK_PORTAL_READABLE_FIELDS(self)@property
New fields (1)
-
hr_category_idsMany2many → hr.employee.categorycomodel_name='hr.employee.category'compute='_compute_hr_category_ids'help='Technical field for computing dynamically employee categories linked to the user in the current company.'string='HR categories'
No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…