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>
10 lines
182 B
Python
10 lines
182 B
Python
|
|
from odoo import models, fields
|
|
|
|
|
|
class Task(models.Model):
|
|
_inherit = "project.task"
|
|
|
|
assignee_ids = fields.Many2many('res.users', 'assignee_ids_rel', string='Assignees')
|
|
|