Unable to import orders. increment_id Error

Bug #1300216 reported by David
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Prestashop OpenERP Connector
New
Undecided
Unassigned

Bug Description

Connector for 6.1 (revision 152). Prestahop 1.5.5.1

I'm getting this error when I try to import orders. It's possible that this mapping doesn't exist?

2014-03-31 13:04:15,395 7949 ERROR ? MERCATO-BIG: 'increment_id'
Traceback (most recent call last):
  File "/opt/openerp-ocb/server_launch/openerp/addons/base_external_referentials/decorator.py", line 130, in wrapper
    response = func(self, import_cr, uid, external_session, resource, *args, **kwargs)
  File "/opt/openerp-ocb/server_launch/openerp/addons/base_sale_multichannels/sale.py", line 603, in _record_one_external_resource
    order_mapping=mapping[mapping_id], defaults=defaults, context=context)
  File "/opt/openerp-ocb/server_launch/openerp/addons/base_sale_multichannels/sale.py", line 589, in check_if_order_exist
    order_name = '%s%s' %(shop.order_prefix, resource['increment_id'])
KeyError: 'increment_id'

David (dhecar)
description: updated
David (dhecar)
description: updated
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.