Error during a Guest Checkout

Bug #1193239 reported by Distexhe Olivier
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenERP Connector - Magento
Fix Released
Guewen Baconnier @ Camptocamp

Bug Description

Reproduction of the error:
- Create a purchase in Magento without account (Checkout as Guest)
- Import sales orders from all store views in OpenERP

Task: openerp.addons.magentoerpconnect.unit.import_synchronizer.import_record('', 1, '100000008')

Traceback (most recent call last):
  File "/opt/local/openerp/addons-community/connector/queue/", line 121, in run_job
  File "/opt/local/openerp/addons-community/connector/queue/", line 460, in perform
    self.result = self.func(session, *self.args, **self.kwargs)
  File "/opt/local/openerp/addons-community/magentoerpconnect/unit/", line 311, in import_record, force=force)
  File "/opt/local/openerp/addons-community/magentoerpconnect/unit/", line 157, in run
  File "/opt/local/openerp/addons-community/magentoerpconnect/unit/", line 97, in _map_data
  File "/opt/local/openerp/addons-community/connector/unit/", line 221, in convert
    self._convert(record, fields=fields)
  File "/opt/local/openerp/addons-community/connector/unit/", line 177, in _convert
    values = meth(record)
  File "/opt/local/openerp/addons-community/magentoerpconnect/", line 617, in customer_id
    "SaleOrderImport._import_dependencies" % record['customer_id'])
AssertionError: customer_id None should have been imported in SaleOrderImport._import_dependencies

Changed in openerp-connector:
status: New → Confirmed
Changed in openerp-connector:
status: Confirmed → In Progress
assignee: nobody → Guewen Baconnier @ Camptocamp (gbaconnier-c2c)
importance: Undecided → Medium
Changed in openerp-connector:
status: In Progress → Fix Committed
Changed in openerp-connector:
status: Fix Committed → Fix Released
information type: Embargoed → Public
affects: openerp-connector → openerp-connector-magento
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers