From 3ebab398b0acee8c735b1db6752597d1cba56b14 Mon Sep 17 00:00:00 2001 From: x620 Date: Wed, 15 Jun 2016 16:32:50 +0500 Subject: [PATCH] [FIX] Synchronize parameter id in both notifications that fix get message error when triggered "mail_move_message.delete_message" notification --- mail_move_message/mail_move_message_models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mail_move_message/mail_move_message_models.py b/mail_move_message/mail_move_message_models.py index c3783b1..797b11a 100644 --- a/mail_move_message/mail_move_message_models.py +++ b/mail_move_message/mail_move_message_models.py @@ -198,7 +198,7 @@ class wizard(models.TransientModel): msg_id = self.message_id.id # Send notification - notification = {'message_ids': [msg_id]} + notification = {'id': msg_id} self.env['bus.bus'].sendone((self._cr.dbname, 'mail_move_message.delete_message'), notification) self.message_id.unlink()