← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 793481] [NEW] "Open Magento Fields" fails

 

Public bug reported:

Software Versions:
OpenERP: 6.0.2
Magento: 1.5.1.0
magentoerpconnect: 6.0.1.0

Clicking on "Open Magento Field" in Product form view, I get the
following error:

Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line 489, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py", line 599, in dispatch
    res = fn(db, uid, *params)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 167, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/magentoerpconnect.zip/magentoerpconnect/product.py", line 641, in open_magento_fields
    set_id = self.read(cr, uid, ids, fields=['set'], context=context)[0]['set'][0]
TypeError: 'bool' object is unsubscriptable

** Affects: magentoerpconnect
     Importance: Undecided
         Status: New

-- 
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/793481

Title:
  "Open Magento Fields" fails

Status in Magento Open ERP Connector:
  New

Bug description:
  Software Versions:
  OpenERP: 6.0.2
  Magento: 1.5.1.0
  magentoerpconnect: 6.0.1.0

  Clicking on "Open Magento Field" in Product form view, I get the
  following error:

  Traceback (most recent call last):
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line 489, in dispatch
      result = ExportService.getService(service_name).dispatch(method, auth, params)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py", line 599, in dispatch
      res = fn(db, uid, *params)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 122, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 167, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/magentoerpconnect.zip/magentoerpconnect/product.py", line 641, in open_magento_fields
      set_id = self.read(cr, uid, ids, fields=['set'], context=context)[0]['set'][0]
  TypeError: 'bool' object is unsubscriptable


Follow ups

References