[FIX] stupid
bzr revid: xmo@openerp.com-20120702070945-i2dqvjsi2cwf9w7s
This commit is contained in:
parent
dee93136d1
commit
d5bd3aff48
|
@ -1759,7 +1759,7 @@ class BaseModel(object):
|
||||||
attr = node.get(translatable)
|
attr = node.get(translatable)
|
||||||
if attr:
|
if attr:
|
||||||
translation = self.pool['ir.translation']._get_source(
|
translation = self.pool['ir.translation']._get_source(
|
||||||
cr, user, self._name, view, context['lang'], attr)
|
cr, user, self._name, 'view', context['lang'], attr)
|
||||||
if translation:
|
if translation:
|
||||||
node.set(translatable, attr)
|
node.set(translatable, attr)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue