[FIX]EDI: due to the less time interval where system wait for commit of parent transa...
authorSomesh Khare (OpenERP) <skh@tinyerp.com>
Mon, 25 Feb 2013 08:23:14 +0000 (13:53 +0530)
committerSomesh Khare (OpenERP) <skh@tinyerp.com>
Mon, 25 Feb 2013 08:23:14 +0000 (13:53 +0530)
bzr revid: skh@tinyerp.com-20130225082314-1pkm4w6zqxie70wj

addons/edi/models/edi.py

index 45fbbbc..ace3abd 100644 (file)
@@ -459,7 +459,7 @@ class EDIMixin(object):
             db = pooler.get_db(cr.dbname)
             local_cr = None
             try:
-                time.sleep(3) # lame workaround to wait for commit of parent transaction
+                time.sleep(60) # lame workaround to wait for commit of parent transaction
                 # grab a fresh browse_record on local cursor
                 local_cr = db.cursor()
                 web_root_url = self.pool.get('ir.config_parameter').get_param(local_cr, uid, 'web.base.url')