Use root user to write translation

This commit is contained in:
Cédric Krier committed 2009-03-22 14:00:48 +01:00
1 parent 2771bbad30
commit 4b76ef9459
1 file changed
+1 -1
+1 -1
View File
@@ -455,7 +455,7 @@ class Translation(ModelSQL, ModelView, Cacheable):
or translation.fuzzy != fuzzy):
ids2.append(translation.id)
if ids2:
self.write(cursor, user, ids2, {
self.write(cursor, 0, ids2, {
'value': value,
'fuzzy': fuzzy,
}, context=ctx)