[FIX] base_import: eval_context ref
bzr revid: xmo@openerp.com-20121127164543-xizox8d20e93lx21
This commit is contained in:
parent
6a3b91e6d5
commit
06122bce12
|
@ -14,7 +14,7 @@ class ImportController(openerp.addons.web.http.Controller):
|
|||
'file': file.read(),
|
||||
'file_name': file.filename,
|
||||
'file_type': file.content_type,
|
||||
}, req.session.eval_context(req.context))
|
||||
}, req.context)
|
||||
|
||||
return 'window.top.%s(%s)' % (
|
||||
jsonp, simplejson.dumps({'result': written}))
|
||||
|
|
Loading…
Reference in New Issue