[FIX] Use a commit to close the delete statement
bzr revid: stephane@tinyerp.com-20090105154200-462px2zlx1d6bs8u
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user