[FIX] import_sugarcrm: set the right object for the importation

bzr revid: stw@openerp.com-20120216172941-21hrsi0lom3cyk0m
This commit is contained in:
Stephane Wirtel 2012-02-16 18:29:41 +01:00
parent 6dba5f5a3d
commit e0d52f4525
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ class sugar_import(import_framework):
return False
fields = ['name']
data = [val]
return self.import_object(fields, data, 'res.partner.canal', 'crm_channel', val)
return self.import_object(fields, data, 'crm.case.channel', 'crm_channel', val)
def get_all_states(self, external_val, country_id):
"""Get states or create new state unless country_id is False"""