Files
project-tools/project_assignees/models/project_task.py
Valentin Lab d4f7f9626d [ADD] add `project_assignees` add-on
Add a field in ``project.task`` to assign users to task. This
completes ``user_id`` field, that is then considered as the owner of
the task. Assignment becomes optional and can now target multiple
users.

Task: JOI-13
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
2022-08-25 17:19:31 +02:00

10 lines
191 B
Python

from odoo import models, fields, _
class Task(models.Model):
_inherit = "project.task"
assignee_ids = fields.Many2many('res.users', 'assignee_ids_rel', string='Other Assignees')