[FIX] Use a commit to close the delete statement

bzr revid: stephane@tinyerp.com-20090105154200-462px2zlx1d6bs8u
This commit is contained in:
Stephane Wirtel
2009-01-05 16:42:00 +01:00
parent 6600172e4a
commit ed0b9d8c35
+1
View File
@@ -104,6 +104,7 @@ class ir_translation(osv.osv):
'and name=%s ' \
'and res_id in ('+','.join(map(str,ids))+')',
(lang,tt,name))
cr.commit()
for id in ids:
self.create(cr, uid, {
'lang':lang,