Skip to content
Snippets Groups Projects
Commit 5f466fce authored by david's avatar david
Browse files

[FIX] mail: tracking_value_ids field group


Give a coherent group as otherwise we could have access errors. Simple
case: an Admin Rights user goes into a mail message form which is only
available in debug mode which sets `group.no_one` into such user. This
model is only readeable by `base.group_sytem` so an AccessError will
raise.

closes odoo/odoo#70102

X-original-commit: 8930e082
Signed-off-by: default avatarSimon Goffin (sig) <sig@openerp.com>
Signed-off-by: default avatarThibault Delavallee (tde) <tde@openerp.com>
parent 852679cb
Branches
Tags
No related merge requests found
......@@ -109,7 +109,7 @@ class Message(models.Model):
tracking_value_ids = fields.One2many(
'mail.tracking.value', 'mail_message_id',
string='Tracking values',
groups="base.group_no_one",
groups="base.group_system",
help='Tracked values are stored in a separate model. This field allow to reconstruct '
'the tracking and to generate statistics on the model.')
# mail gateway
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment