Exemple #1
0
 def import_edi_url(self, url):
     req = openerp.http.request
     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 True
Exemple #2
0
 def import_edi_url(self, req, url):
     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 True
Exemple #3
0
 def import_edi_url(self, url):
     req = openerp.http.request
     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 True