[FIX] mail_tracking
When a user try to resend message gets an error stating that it's only allowed for users who belong to the Administration/Settings group
This commit is contained in:
parent
26c6cd33af
commit
a8631c588f
@ -46,7 +46,7 @@ class MailResendMessage(models.TransientModel):
|
|||||||
tracking_ids = wizard.mail_message_id.mail_tracking_ids.filtered(
|
tracking_ids = wizard.mail_message_id.mail_tracking_ids.filtered(
|
||||||
lambda x: x.partner_id in to_send
|
lambda x: x.partner_id in to_send
|
||||||
)
|
)
|
||||||
tracking_ids.write({"state": False})
|
tracking_ids.sudo().write({"state": False})
|
||||||
# Send bus notifications to update Discuss and
|
# Send bus notifications to update Discuss and
|
||||||
# mail_failed_messages widget
|
# mail_failed_messages widget
|
||||||
notification = {
|
notification = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user