[FIX] crm: set the oldname of field crm.lead.medium_id

This commit is contained in:
Christophe Simonis 2014-11-21 15:03:12 +01:00
parent 8251806741
commit 06246bac9a
1 changed files with 1 additions and 1 deletions

View File

@ -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):