[7.0] AttributeError: 'ResPartnerRecordImport' object has no attribute 'create_account'

Bug #1323636 reported by atchuthan
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Prestashop OpenERP Connector
New
Undecided
Unassigned

Bug Description

I am using Prestashop 1.5 and OpenERP 7.0.
I got this error when I started "Importing Customers and Customer groups".

2014-05-27 12:36:15,336 19636 ERROR prestashop openerp.addons.connector.queue.worker:
Traceback (most recent call last):
  File "/opt/openerp/v7.0/custom_modules/launchpad_links/connector/queue/worker.py", line 122, in run_job
    job.perform(session)
  File "/opt/openerp/v7.0/custom_modules/launchpad_links/connector/queue/job.py", line 485, in perform
    self.result = self.func(session, *self.args, **self.kwargs)
  File "/opt/openerp/v7.0/custom_modules/launchpad_links/prestashoperpconnect/unit/import_synchronizer.py", line 967, in import_record
    importer.run(prestashop_id)
  File "/opt/openerp/v7.0/custom_modules/launchpad_links/prestashoperpconnect/unit/import_synchronizer.py", line 133, in run
    self._import_dependencies()
  File "/opt/openerp/v7.0/custom_modules/launchpad_links/prestashoperpconnect/unit/import_synchronizer.py", line 309, in _import_dependencies
    self.create_account(self.prestashop_record['id'], name)
AttributeError: 'ResPartnerRecordImport' object has no attribute 'create_account'

I couldn't understand the use of create_account in Import Synchronizer of res.partner object. So, I had commented the call for "create_account".

The create_account functionality was added by Revision 365
http://bazaar.launchpad.net/~prestashoperpconnect-core-editors/prestashoperpconnect/7.0/revision/365?start_revid=365

Is my assumption correct? or was this meant to be implemented in future revision?

Tags: import
atchuthan (atchuthantu)
summary: - AttributeError: 'ResPartnerRecordImport' object has no attribute
+ [7.0] AttributeError: 'ResPartnerRecordImport' object has no attribute
'create_account'
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.