From a1f9af564299d2dc3005e72197bedc8582769bbf Mon Sep 17 00:00:00 2001 From: Ivan Yelizariev Date: Thu, 10 Sep 2015 12:59:47 +0500 Subject: [PATCH] [IMP] mail_move_message: show email_from + use built-in css for body --- mail_move_message_models.py | 1 + mail_move_message_views.xml | 16 ++++++++++++++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/mail_move_message_models.py b/mail_move_message_models.py index ae3e5e3..a250c9e 100644 --- a/mail_move_message_models.py +++ b/mail_move_message_models.py @@ -56,6 +56,7 @@ class wizard(models.TransientModel): message_id = fields.Many2one('mail.message', string='Message') message_body = fields.Html(related='message_id.body', string='Message to move', readonly=True) + message_from = fields.Char(related='message_id.email_from', string='From', readonly=True) message_moved_by_message_id = fields.Many2one('mail.message', related='message_id.moved_by_message_id', string='Moved with', readonly=True) message_moved_by_user_id = fields.Many2one('res.users', related='message_id.moved_by_user_id', string='Moved by', readonly=True) message_is_moved = fields.Boolean(string='Is Moved', related='message_id.is_moved', readonly=True) diff --git a/mail_move_message_views.xml b/mail_move_message_views.xml index 8ee92b7..566bb97 100644 --- a/mail_move_message_views.xml +++ b/mail_move_message_views.xml @@ -52,9 +52,21 @@