Merge PR #659 into 13.0

Signed-off-by pedrobaeza
pull/664/head
OCA-git-bot 2021-01-21 15:27:04 +00:00
commit 1c23f4f7da
1 changed files with 1 additions and 1 deletions

View File

@ -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 = {