diff --git a/addons/crm/crm_lead.py b/addons/crm/crm_lead.py index 08a58ac145c..16f3bb0355c 100644 --- a/addons/crm/crm_lead.py +++ b/addons/crm/crm_lead.py @@ -151,8 +151,7 @@ and users"), \nIf the case is in progress the state is set to \'Open\'.\ \nWhen the case is over, the state is set to \'Done\'.\ \nIf the case needs to be reviewed then the state is set to \'Pending\'.'), - 'message_ids': fields.one2many('mailgate.message', 'res_id', 'Messages', domain=[('history', '=', True),('model','=',_name)], readonly=True), - 'log_ids': fields.one2many('mailgate.message', 'res_id', 'Logs', domain=[('history', '=', False),('model','=',_name)], readonly=True), + 'message_ids': fields.one2many('mailgate.message', 'res_id', 'Messages', domain=[('model','=',_name)], readonly=True), 'partner_assigned_id': fields.many2one('res.partner', 'Assigned Partner', help="Partner this case has been forwarded/assigned to.", select=True), 'date_assign': fields.date('Assignation Date', help="Last date this case was forwarded/assigned to a partner"), } diff --git a/addons/crm/crm_lead_view.xml b/addons/crm/crm_lead_view.xml index bcc72d74042..8dda77e5cd0 100644 --- a/addons/crm/crm_lead_view.xml +++ b/addons/crm/crm_lead_view.xml @@ -154,12 +154,19 @@ - + - - + + + +