Jobs Failing when Importing Sales Orders

Bug #1724536 reported by Richard d'Avrincourt on 2017-10-18
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Prestashop OpenERP Connector

Bug Description


I am getting the following error when trying to import Sales Orders from PrestaShop ( to Odoo (v9). All other items such as Customers, Products etc are transferring with no issues from PrestaShop and the Jobs Scheduling is also working fine. The error that I am getting is as follows on the Sales imports:

 Exception Information
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/openerp/addons/connector/controllers/", line 90, in runjob
    self._try_perform_job(session_hdl, job)
  File "/usr/lib/python2.7/dist-packages/openerp/addons/connector/controllers/", line 66, in _try_perform_job
  File "/usr/lib/python2.7/dist-packages/openerp/addons/connector/queue/", line 493, in perform
    self.result = self.func(session, *self.args, **self.kwargs)
  File "/usr/lib/python2.7/dist-packages/openerp/addons/connector_prestashop/unit/", line 517, in import_record
    return, **kwargs)
  File "/usr/lib/python2.7/dist-packages/openerp/addons/connector_prestashop/unit/", line 256, in run
  File "/usr/lib/python2.7/dist-packages/openerp/addons/connector_prestashop/models/sale_order/", line 324, in _import_dependencies
AttributeError: 'list' object has no attribute 'push'

Can you please advise what is the issue and how to resolve it. I am at your disposal to give more information on this error

Please advise

Kind regards


Richard d'Avrincourt (davrin) wrote :
Download full text (3.8 KiB)

This is the full error from the logs:

2017-10-18 11:03:15,019 3974 ERROR pbdevdb2 werkzeug: Error on request:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/werkzeug/", line 177, in run_wsgi
  File "/usr/lib/python2.7/dist-packages/werkzeug/", line 165, in execute
    application_iter = app(environ, start_response)
  File "/usr/lib/python2.7/dist-packages/openerp/service/", line 184, in application
    return application_unproxied(environ, start_response)
  File "/usr/lib/python2.7/dist-packages/openerp/service/", line 170, in application_unproxied
    result = handler(environ, start_response)
  File "/usr/lib/python2.7/dist-packages/openerp/", line 1497, in __call__
    return self.dispatch(environ, start_response)
  File "/usr/lib/python2.7/dist-packages/openerp/", line 1471, in __call__
    return, start_wrapped)
  File "/usr/lib/python2.7/dist-packages/werkzeug/", line 579, in __call__
    return, start_response)
  File "/usr/lib/python2.7/dist-packages/openerp/", line 1668, in dispatch
    result = ir_http._dispatch()
  File "/usr/lib/python2.7/dist-packages/openerp/addons/utm/models/", line 15, in _dispatch
    response = super(ir_http, self)._dispatch()
  File "/usr/lib/python2.7/dist-packages/openerp/addons/web_editor/models/", line 16, in _dispatch
    return super(ir_http, self)._dispatch()
  File "/usr/lib/python2.7/dist-packages/openerp/addons/base/ir/", line 187, in _dispatch
    return self._handle_exception(e)
  File "/usr/lib/python2.7/dist-packages/openerp/addons/base/ir/", line 158, in _handle_exception
    return request._handle_exception(exception)
  File "/usr/lib/python2.7/dist-packages/openerp/", line 788, in _handle_exception
    return super(HttpRequest, self)._handle_exception(exception)
  File "/usr/lib/python2.7/dist-packages/openerp/addons/base/ir/", line 183, in _dispatch
    result = request.dispatch()
  File "/usr/lib/python2.7/dist-packages/openerp/", line 847, in dispatch
    r = self._call_function(**self.params)
  File "/usr/lib/python2.7/dist-packages/openerp/", line 323, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/openerp/service/", line 118, in wrapper
    return f(dbname, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/openerp/", line 316, in checked_call
    result = self.endpoint(*a, **kw)
  File "/usr/lib/python2.7/dist-packages/openerp/", line 966, in __call__
    return self.method(*args, **kw)
  File "/usr/lib/python2.7/dist-packages/openerp/", line 516, in response_wrap
    response = f(*args, **kw)
  File "/usr/lib/python2.7/dist-packages/openerp/addons/connector/controllers/", line 90, in runjob
    self._try_perform_job(session_hdl, job)
  File "/usr/lib/python2.7/dist-packages/openerp/addons/connector/controllers/", line 66, in _try_perform_job
  File "/usr/lib/python2.7/dist-packages/openerp/addons/connector/queue/j...


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

Other bug subscribers