Comment 1 for bug 1126944

Revision history for this message
Max Qi (qimiaoqimiao) wrote :

Server Traceback (most recent call last):
  File "D:\openerp-6.1-20130129-002230-source\openerp\addons\web\common\http.py", line 593, in send
    return openerp.netsvc.dispatch_rpc(service_name, method, args)
  File "D:\openerp-6.1-20130129-002230-source\openerp\netsvc.py", line 360, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "D:\openerp-6.1-20130129-002230-source\openerp\service\web_services.py", line 586, in dispatch
    res = fn(db, uid, *params)
  File "D:\openerp-6.1-20130129-002230-source\openerp\osv\osv.py", line 167, in execute_kw
    return self.execute(db, uid, obj, method, *args, **kw or {})
  File "D:\openerp-6.1-20130129-002230-source\openerp\osv\osv.py", line 121, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "D:\openerp-6.1-20130129-002230-source\openerp\osv\osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "D:\openerp-6.1-20130129-002230-source\openerp\osv\osv.py", line 164, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "D:\openerp-6.1-20130129-002230-source\openerp\addons\ea_import\ea_import_chain.py", line 97, in import_to_db
    result_id = chain_link.template_id.generate_record(record_list, context=context)
  File "D:\openerp-6.1-20130129-002230-source\openerp\osv\orm.py", line 368, in function_proxy
    return attr(self._cr, self._uid, [self._id], *args, **kwargs)
  File "D:\openerp-6.1-20130129-002230-source\openerp\addons\ea_import\ea_import_template.py", line 49, in generate_record
    value = template_line.get_field(record_list, testing=True)
  File "D:\openerp-6.1-20130129-002230-source\openerp\osv\orm.py", line 368, in function_proxy
    return attr(self._cr, self._uid, [self._id], *args, **kwargs)
  File "D:\openerp-6.1-20130129-002230-source\openerp\addons\ea_import\ea_import_template_line.py", line 176, in get_field
    return template_line.get_selection_from_name(target_string)
  File "D:\openerp-6.1-20130129-002230-source\openerp\osv\orm.py", line 368, in function_proxy
    return attr(self._cr, self._uid, [self._id], *args, **kwargs)
  File "D:\openerp-6.1-20130129-002230-source\openerp\addons\ea_import\ea_import_template_line.py", line 232, in get_selection_from_name
    selection_dict = dict(target_model_pool._columns[template_line.target_field.name].selection)
TypeError: 'function' object is not iterable