c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #25924
[Bug 793481] Re: "Open Magento Fields" fails
Hi
Do you use the lastest version of the connector?
I can not sucess to reproduce this bug.
Did the field attributs set of your product is correctly fill? If yes, can you try to a print before?
+ print self.read(cr, uid, ids, fields=['set'], context=context)
set_id = self.read(cr, uid, ids, fields=['set'], context=context)[0]['set'][0]
Thanks
--
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
References