2020-02-03 16:16:50 +01:00
|
|
|
# Copyright 2020 Creu Blanca
|
|
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
|
|
|
|
|
|
from odoo import fields, models
|
|
|
|
|
|
|
|
|
|
|
|
class MailActivity(models.Model):
|
|
|
|
|
2021-11-16 08:39:06 +01:00
|
|
|
_inherit = "mail.activity"
|
2020-02-03 16:16:50 +01:00
|
|
|
|
|
|
|
creator_uid = fields.Many2one(
|
2021-11-25 10:13:36 +01:00
|
|
|
"res.users",
|
|
|
|
default=lambda r: r.env.user.id,
|
|
|
|
string="Creator",
|
2020-02-03 16:16:50 +01:00
|
|
|
)
|