← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 803490] Re: Error importing Sale Order from Magento

 

You must be trying to import sale orders for the first time. Open
sale.py in magentoerpconnect. comment out the split line

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/803490

Title:
  Error importing Sale Order from Magento

Status in Magento OpenERP Connector:
  New

Bug description:
  OpenERP => Sales => Configuration => Sales => Shop
  1. Select a Magento Shop
  2. Clic Import Orders button

  Then an error reaises:

  
  Traceback (most recent call last):
    File "/opt/openerp/server/bin/netsvc.py", line 489, in dispatch
      result = ExportService.getService(service_name).dispatch(method, auth, params)
    File "/opt/openerp/server/bin/service/web_services.py", line 599, in dispatch
      res = fn(db, uid, *params)
    File "/opt/openerp/addons/audittrail/audittrail.py", line 518, in execute
      res = my_fct(db, uid, model, method, *args)
    File "/opt/openerp/addons/audittrail/audittrail.py", line 502, in my_fct
      return fct_src(db, uid_orig, model, method, *args)
    File "/opt/openerp/server/bin/osv/osv.py", line 122, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/opt/openerp/server/bin/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/opt/openerp/server/bin/osv/osv.py", line 167, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/opt/openerp/addons/base_sale_multichannels/sale.py", line 200, in import_orders
      self.import_shop_orders(cr, uid, shop, defaults, context)
    File "/opt/openerp/addons/magentoerpconnect/sale.py", line 141, in import_shop_orders
      if last_external_id:
  AttributeError: 'bool' object has no attribute 'split'

  
  I'm using OpenERP 6.0.2 and Magento 1.4.2

  Wait for comments

To manage notifications about this bug go to:
https://bugs.launchpad.net/magentoerpconnect/+bug/803490/+subscriptions


References