[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>
This commit is contained in:
Valentin Lab
2022-07-25 19:16:52 +02:00
committed by Stéphan Sainléger
parent 863116ffe7
commit d4f7f9626d
8 changed files with 219 additions and 0 deletions

View File

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