Browse Source

[FIX] mail_move_message: default model selected in the list is message's model

pull/1/head
Veronika 9 years ago
parent
commit
25d6e456ee
  1. 1
      mail_move_message_models.py

1
mail_move_message_models.py

@ -33,6 +33,7 @@ class wizard(models.TransientModel):
if 'message_id' in res: if 'message_id' in res:
message = self.env['mail.message'].browse(res['message_id']) message = self.env['mail.message'].browse(res['message_id'])
res['model'] = message.model
email_from = message.email_from email_from = message.email_from
parts = email_split(email_from.replace(' ',',')) parts = email_split(email_from.replace(' ',','))
if parts: if parts:

Loading…
Cancel
Save