[FIX] using the newly translated string might be a better idea than putting the old one again
todo: stop committing at 9AM, still not woken up bzr revid: xmo@openerp.com-20120702071841-h0th114l87iphsty
This commit is contained in:
+1
-1
@@ -1761,7 +1761,7 @@ class BaseModel(object):
|
||||
translation = self.pool['ir.translation']._get_source(
|
||||
cr, user, self._name, 'view', context['lang'], attr)
|
||||
if translation:
|
||||
node.set(translatable, attr)
|
||||
node.set(translatable, translation)
|
||||
|
||||
for f in node:
|
||||
if children or (node.tag == 'field' and f.tag in ('filter','separator')):
|
||||
|
||||
Reference in New Issue
Block a user