From 06246bac9a984297d41480738ad797d3ab7d3dbb Mon Sep 17 00:00:00 2001 From: Christophe Simonis Date: Fri, 21 Nov 2014 15:03:12 +0100 Subject: [PATCH] [FIX] crm: set the oldname of field crm.lead.medium_id --- addons/crm/crm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/crm/crm.py b/addons/crm/crm.py index 983ae1b023f..9d12c56a8af 100644 --- a/addons/crm/crm.py +++ b/addons/crm/crm.py @@ -73,7 +73,7 @@ class crm_tracking_mixin(osv.AbstractModel): 'campaign_id': fields.many2one('crm.tracking.campaign', 'Campaign', # old domain ="['|',('section_id','=',section_id),('section_id','=',False)]" help="This is a name that helps you keep track of your different campaign efforts Ex: Fall_Drive, Christmas_Special"), 'source_id': fields.many2one('crm.tracking.source', 'Source', help="This is the source of the link Ex: Search Engine, another domain, or name of email list"), - 'medium_id': fields.many2one('crm.tracking.medium', 'Channel', help="This is the method of delivery. Ex: Postcard, Email, or Banner Ad"), + 'medium_id': fields.many2one('crm.tracking.medium', 'Channel', help="This is the method of delivery. Ex: Postcard, Email, or Banner Ad", oldname='channel_id'), } def tracking_fields(self):