NameError: name 'Array' is not defined
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Magento OpenERP Connector |
Confirmed
|
Undecided
|
gekko tek |
Bug Description
Hi
During in import from magenta to openerp. One external field, type list and not required, is empty(attachment), the value of the field in resource dict is 'Array'. during the eval the value 'Array' is used like a var.
casted_field = eval(field_
OpenERP Server Error
Client Traceback (most recent call last):
File "/usr/lib/
response[
File "/usr/lib/
action = self.call_
File "/usr/lib/
return self._call_kw(req, model, method, args, {})
File "/usr/lib/
return getattr(
File "/usr/lib/
args, kw)
File "/usr/lib/
result = self.connector.
File "/usr/lib/
raise fault
Server Traceback (most recent call last):
File "/usr/lib/
result = openerp.
File "/usr/lib/
result = ExportService.
File "/usr/lib/
res = fn(db, uid, *params)
File "/usr/lib/
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/usr/lib/
return f(self, dbname, *args, **kwargs)
File "/usr/lib/
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/lib/
return getattr(object, method)(cr, uid, *args, **kw)
File "/usr/lib/
res = self._sync_
File "/usr/lib/
context=ctx,
File "/usr/lib/
vals = self._transform
context=context)
File "/usr/lib/
'ifield': self._transform
File "/usr/lib/
casted_field = eval(field_
File "<string>", line 1, in <module>
NameError: name 'Array' is not defined
Changed in magentoerpconnect: | |
assignee: | nobody → gekko tek (gekkotek) |
status: | Incomplete → Confirmed |
Can you tell which branch of the project you are using, and which mappings you are using?
Thanks.