2020-10-01 09:50:51 +02:00
|
|
|
# Copyright 2018 ForgeFlow, S.L.
|
2018-11-27 09:35:55 +01:00
|
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
2019-10-24 13:47:32 +02:00
|
|
|
from odoo import fields, models
|
2018-11-27 09:35:55 +01:00
|
|
|
|
|
|
|
|
|
|
|
class ResUsers(models.Model):
|
|
|
|
_inherit = "res.users"
|
|
|
|
|
2018-11-27 12:22:49 +01:00
|
|
|
activity_team_ids = fields.Many2many(
|
2019-10-24 13:47:32 +02:00
|
|
|
comodel_name="mail.activity.team",
|
|
|
|
relation="mail_activity_team_users_rel",
|
2018-11-27 12:22:49 +01:00
|
|
|
string="Activity Teams",
|
|
|
|
)
|