[FIX]crm:optout field to opt_out

bzr revid: dbr@tinyerp.com-20120508093251-wg6fgzrbyqxqiqmz
This commit is contained in:
DBR (OpenERP)
2012-05-08 15:02:51 +05:30
parent 709fe6f6c2
commit 7bdb8147e5
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -15,7 +15,7 @@
name: 'Need 20 Days of Consultancy'
type: opportunity
state: draft
optout: True
opt_out: True
-
I create phonecall record to call partner onchange method.
-
+1 -1
View File
@@ -697,7 +697,7 @@ class sugar_import(import_framework):
'state': map_val('status', self.lead_state) ,
'fax': 'phone_fax',
'referred': 'refered_by',
'optout': 'do_not_call',
'opt_out': 'do_not_call',
'channel_id/id': call(self.get_channel_id, value('lead_source')),
'type_id/id': ref(self.TABLE_COMPAIGN, 'campaign_id'),
'country_id/id': 'country_id/id',