diff --git a/testserver_o2b/models/init_test.py b/testserver_o2b/models/init_test.py index 463a663..b5b8b97 100644 --- a/testserver_o2b/models/init_test.py +++ b/testserver_o2b/models/init_test.py @@ -56,7 +56,7 @@ class IrLogging(models.Model): # _logger.error(os.system('./%s/testserver.sh' %(ap))) - p = subprocess.Popen('sh ../testserver.sh',stdout=subprocess.PIPE,stderr=subprocess.PIPE) + p = subprocess.Popen('sh /odoo/custom/open2bizz/testserver/testserver.sh',stdout=subprocess.PIPE,stderr=subprocess.PIPE) results, errors = p.communicate() print( results) re.search('<(\d+)>', results).group(1) \ No newline at end of file