import order error - magento 1.7 openerp 6.1

Bug #1037038 reported by mahdi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Magento OpenERP Connector
New
Undecided
Unassigned

Bug Description

connect magento 1.7 and openerp 1.6

installed complete

I have installed every thing with this document
https://answers.launchpad.net/magentoerpconnect/+question/201821
use this branch for install in openerp
bzr branch lp:magentoerpconnect/openerp6.1-legacy-module
bzr branch lp:openobject-addons/extra-trunk
bzr branch lp:c2c-ecom-addons/6.1
and I used this branch for magento
bzr branch lp:magentoerpconnect/magento-module-trunk
and I can import product and I can import partner and I can synchronization
but when I want to import order in sale -> configuration -> shop -> my shop store -> importorde
I have price list and I defined perfix but when I want to import I have this error
please help my dear friend

Client Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/openerp/addons/web/common/http.py", line 180, in dispatch
    response["result"] = method(controller, self, **self.params)
  File "/usr/lib/pymodules/python2.7/openerp/addons/web/controllers/main.py", line 1052, in call_button
    action = self.call_common(req, model, method, args, domain_id, context_id)
  File "/usr/lib/pymodules/python2.7/openerp/addons/web/controllers/main.py", line 996, in call_common
    return self._call_kw(req, model, method, args, {})
  File "/usr/lib/pymodules/python2.7/openerp/addons/web/controllers/main.py", line 1010, in _call_kw
    return getattr(req.session.model(model), method)(*args, **kwargs)
  File "/usr/lib/pymodules/python2.7/openerp/addons/web/common/openerplib/main.py", line 250, in proxy
    args, kw)
  File "/usr/lib/pymodules/python2.7/openerp/addons/web/common/openerplib/main.py", line 117, in proxy
    result = self.connector.send(self.service_name, method, *args)
  File "/usr/lib/pymodules/python2.7/openerp/addons/web/common/http.py", line 608, in send
    raise xmlrpclib.Fault(openerp.tools.exception_to_unicode(e), formatted_info)

Server Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/openerp/addons/web/common/http.py", line 593, in send
    return openerp.netsvc.dispatch_rpc(service_name, method, args)
  File "/usr/lib/pymodules/python2.7/openerp/netsvc.py", line 360, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/usr/lib/pymodules/python2.7/openerp/service/web_services.py", line 586, in dispatch
    res = fn(db, uid, *params)
  File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 167, in execute_kw
    return self.execute(db, uid, obj, method, *args, **kw or {})
  File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 121, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 164, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/usr/lib/pymodules/python2.7/openerp/addons/base_sale_multichannels/sale.py", line 324, in import_orders
    self.import_shop_orders(cr, uid, shop, defaults, context)
  File "/usr/lib/pymodules/python2.7/openerp/addons/magentoerpconnect/sale.py", line 161, in import_shop_orders
    context=ctx)
  File "/usr/lib/pymodules/python2.7/openerp/addons/magentoerpconnect/sale.py", line 780, in mage_import_base
    cr, uid, conn, ext_order_ids, external_referential_id, defaults=defaults, context=context)
  File "/usr/lib/pymodules/python2.7/openerp/addons/magentoerpconnect/sale.py", line 810, in _import_orders
    cr, uid, conn, referential_id, mapping_id[0], order_ids_filtred, defaults, context)
  File "/usr/lib/pymodules/python2.7/openerp/addons/magentoerpconnect/magerp_osv.py", line 315, in mage_import_one_by_one
    record_cr, uid, conn, record, external_referential_id, mapping_id, defaults=defaults, context=import_ctx)
  File "/usr/lib/pymodules/python2.7/openerp/addons/magentoerpconnect/magerp_osv.py", line 296, in _mage_import_one
    rec_result = self.ext_import(cr, uid, rec_data, referential_id, defaults, context)
  File "/usr/lib/pymodules/python2.7/openerp/addons/base_external_referentials/external_osv.py", line 615, in ext_import
    context=context)
  File "/usr/lib/pymodules/python2.7/openerp/addons/magentoerpconnect/sale.py", line 743, in _ext_import_one_cr
    cr, uid, external_data, referential_id, defaults=defaults, context=context)
  File "/usr/lib/pymodules/python2.7/openerp/addons/base_external_referentials/external_osv.py", line 555, in _ext_import_one_cr
    ('referential_id', '=', referential_id)])
  File "/usr/lib/pymodules/python2.7/openerp/osv/orm.py", line 2245, in search
    return self._search(cr, user, args, offset=offset, limit=limit, order=order, context=context, count=count)
  File "/usr/lib/pymodules/python2.7/openerp/osv/orm.py", line 4586, in _search
    query = self._where_calc(cr, user, args, context=context)
  File "/usr/lib/pymodules/python2.7/openerp/osv/orm.py", line 4435, in _where_calc
    e = expression.expression(cr, user, domain, self, context)
  File "/usr/lib/pymodules/python2.7/openerp/osv/expression.py", line 358, in __init__
    self.parse(cr, uid, distribute_not(normalize(exp)), table, context)
  File "/usr/lib/pymodules/python2.7/openerp/osv/expression.py", line 478, in parse
    subexp = field.search(cr, uid, table, left, [self.__exp[i]], context=context)
  File "/usr/lib/pymodules/python2.7/openerp/osv/fields.py", line 1098, in search
    return self._fnct_search(obj, cr, uid, obj, name, args, context=context)
  File "/usr/lib/pymodules/python2.7/openerp/osv/fields.py", line 1172, in _fnct_search
    sarg = obj.pool.get(self._relations[i]['object']).search(cr, uid, where, context=context)
  File "/usr/lib/pymodules/python2.7/openerp/osv/orm.py", line 2245, in search
    return self._search(cr, user, args, offset=offset, limit=limit, order=order, context=context, count=count)
  File "/usr/lib/pymodules/python2.7/openerp/osv/orm.py", line 4599, in _search
    cr.execute('SELECT "%s".id FROM ' % self._table + from_clause + where_str + order_by + limit_str + offset_str, where_clause_params)
  File "/usr/lib/pymodules/python2.7/openerp/sql_db.py", line 152, in wrapper
    return f(self, *args, **kwargs)
  File "/usr/lib/pymodules/python2.7/openerp/sql_db.py", line 212, in execute
    res = self._obj.execute(query, params)
InternalError: current transaction is aborted, commands ignored until end of transaction block

I have this err

Tags: 1.7 magento
Revision history for this message
mahdi (mahdideveloper) wrote :

I have installed every thing with this document
https://answers.launchpad.net/magentoerpconnect/+question/201821
use this branch for install in openerp
bzr branch lp:magentoerpconnect/openerp6.1-legacy-module
bzr branch lp:openobject-addons/extra-trunk
bzr branch lp:c2c-ecom-addons/6.1
and I used this branch for magento
bzr branch lp:magentoerpconnect/magento-module-trunk
and I can import product and I can import partner and I can synchronization
but when I want to import order in sale -> configuration -> shop -> my shop store -> importorde
I have price list and I defined perfix but when I want to import I have this error
please help my dear friend

description: updated
tags: added: 1.7 magento
mahdi (mahdideveloper)
summary: - import order error
+ import order error - magento 1.7 openerp 6.1
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.