Unable to import orders. increment_id Error

Bug #1300384 reported by David on 2014-03-31
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
e-commerce-addons
Undecided
Unassigned

Bug Description

I'm triying to import orders from prestashop 1.5.5.1 , with latest prestashop connector ( 152) and Openerp-OCB 6.1 but i'm getting this error in base_sale_multichannels

I think openerp is searching in increment_id column from orders in prestashop, but this field doesn't exist, the name is id_order.

2014-03-31 14:42:21,085 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'

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers