Fix cache in ir.translation for issue145
This commit is contained in:
1 parent
0c076b75d4
commit
3c87e9c772
1 file changed
-1
@@ -266,7 +266,6 @@ class Translation(OSV, Cacheable):
|
||||
'WHERE ' + clause, value)
|
||||
for lang, ttype, name, src, value in cursor.fetchall():
|
||||
res[(name, ttype, lang, source)] = value
|
||||
for name, ttype, lang, source in args:
|
||||
self.add(cursor, (lang, ttype, name, source),
|
||||
res[(name, ttype, lang, source)])
|
||||
return res
|
||||
|
||||
Reference in new issue
Block a user