TIP: You can type at any time to perform a new search.

Security findings

Repository
OCA/project · module folder · Try on Runboat
Module version
1.0.0
Category
Uncategorized
Folder size
0.1 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), Tecnativa
Maintainers
Odoo Community Association (OCA), Tecnativa
Committers
Weblate, OCA-git-bot, oca-ci, Xavier Bol
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
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.

Code Analysis info_outline

Views touched (6)
XML IDNameModelTypeStatus
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_ids Many2many → hr.employee.category
    comodel_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'
Public methods (0)

No public methods.

New fields (5)
  • domain_hr_category_ids Binary
    compute='_compute_domain_hr_category_ids'
  • domain_user_ids Binary
    compute='_compute_domain_user_ids'
  • employee_ids Many2many → hr.employee
    comodel_name='hr.employee' compute='_compute_employee_ids' store=True string='Linked employees'
  • hr_category_ids Many2many → hr.employee.category
    comodel_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_ids Many2many
    domain='domain_user_ids'
Public methods (0)

No public methods.

New fields (1)
  • hr_category_ids Many2many → hr.employee.category
    comodel_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'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…