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:
3168978
)
[FIX] force to clear Registry cache in case xml_import() rollback
author
Xavier ALT
<xal@openerp.com>
Thu, 13 Dec 2012 14:38:11 +0000
(15:38 +0100)
committer
Xavier ALT
<xal@openerp.com>
Thu, 13 Dec 2012 14:38:11 +0000
(15:38 +0100)
forward-port of v6.0 server revid: xal@openerp.com-
20121213123054
-0bbv1h5vjdngvkcd
bzr revid: xal@openerp.com-
20121213143811
-8gn64sx8pr31190c
openerp/tools/convert.py
patch
|
blob
|
history
diff --git
a/openerp/tools/convert.py
b/openerp/tools/convert.py
index
ec096a8
..
562fa76
100644
(file)
--- a/
openerp/tools/convert.py
+++ b/
openerp/tools/convert.py
@@
-894,6
+894,7
@@
form: module.record_id""" % (xml_id,)
rec.sourceline,
etree.tostring(rec).strip(), exc_info=True)
self.cr.rollback()
+ self.pool.clear_caches()
raise
return True