projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71aa0ed
)
[FIX] audittrail: avoid deadlock when installing module making references to ir.model...
author
Albert Cervera i Areny
<>
Wed, 15 Sep 2010 08:46:59 +0000
(10:46 +0200)
committer
Christophe Simonis
<chs@openerp.com>
Wed, 15 Sep 2010 08:46:59 +0000
(10:46 +0200)
lp bug: https://launchpad.net/bugs/599008 fixed
bzr revid: chs@openerp.com-
20100915084659
-vdwsesa02urhj383
addons/audittrail/audittrail.py
patch
|
blob
|
history
diff --git
a/addons/audittrail/audittrail.py
b/addons/audittrail/audittrail.py
index
cff20fd
..
ee6f34a
100644
(file)
--- a/
addons/audittrail/audittrail.py
+++ b/
addons/audittrail/audittrail.py
@@
-315,6
+315,7
@@
class audittrail_objects_proxy(objects_proxy):
def execute(self, db, uid, passwd, model, method, *args):
pool = pooler.get_pool(db)
cr = pooler.get_db(db).cursor()
+ cr.autocommit(True)
try:
proxy = pool.get(model)
if proxy is None: