[IMP] mail: changed controller due to modification in the clear_action() method
bzr revid: nicolas.vanhoren@openerp.com-20121120155258-32chebnbcrz37tks
This commit is contained in:
parent
6bc1e836a7
commit
3edac34949
|
@ -75,9 +75,10 @@ class EDI(openerpweb.Controller):
|
|||
|
||||
@openerpweb.jsonrequest
|
||||
def import_edi_url(self, req, url):
|
||||
context = req.session.eval_context(req.context)
|
||||
result = req.session.proxy('edi').import_edi_url(req.session._db, req.session._uid, req.session._password, url)
|
||||
if len(result) == 1:
|
||||
return {"action": webmain.clean_action(req, result[0][2])}
|
||||
return {"action": webmain.clean_action(req, result[0][2], context)}
|
||||
return True
|
||||
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue