From 5759df7befefc4ca33a779dafa22cef476f88f0f Mon Sep 17 00:00:00 2001 From: Denis Ledoux Date: Fri, 4 Apr 2014 14:54:50 +0200 Subject: [PATCH] [FIX] crm_partner_assign: add discussion subtype to interested/disintered messages, so portal users can see it bzr revid: dle@openerp.com-20140404125450-v94rjpuuse9gkibr --- addons/crm_partner_assign/wizard/crm_channel_interested.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/crm_partner_assign/wizard/crm_channel_interested.py b/addons/crm_partner_assign/wizard/crm_channel_interested.py index 87fd5669008..a23de29d766 100644 --- a/addons/crm_partner_assign/wizard/crm_channel_interested.py +++ b/addons/crm_partner_assign/wizard/crm_channel_interested.py @@ -63,7 +63,7 @@ class crm_lead_forward_to_partner(osv.TransientModel): if wizard.comment: message += '

%s

' % wizard.comment for active_id in context.get('active_ids', []): - lead_obj.message_post(cr, uid, active_id, body=message, context=context) + lead_obj.message_post(cr, uid, active_id, body=message, subtype="mail.mt_comment", context=context) if values: lead_obj.write(cr, SUPERUSER_ID, context.get('active_ids', []), values) if wizard.interested: