From 25d6e456ee6b84cdc4f4004a1b06ba89e796f5b8 Mon Sep 17 00:00:00 2001 From: Veronika Date: Wed, 17 Feb 2016 13:56:34 +0300 Subject: [PATCH] [FIX] mail_move_message: default model selected in the list is message's model --- mail_move_message_models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mail_move_message_models.py b/mail_move_message_models.py index bfd1e41..94513be 100644 --- a/mail_move_message_models.py +++ b/mail_move_message_models.py @@ -33,6 +33,7 @@ class wizard(models.TransientModel): if 'message_id' in res: message = self.env['mail.message'].browse(res['message_id']) + res['model'] = message.model email_from = message.email_from parts = email_split(email_from.replace(' ',',')) if parts: