[FIX] stupid

bzr revid: xmo@openerp.com-20120702070945-i2dqvjsi2cwf9w7s
This commit is contained in:
Xavier Morel 2012-07-02 09:09:45 +02:00
parent dee93136d1
commit d5bd3aff48
1 changed files with 1 additions and 1 deletions

View File

@ -1759,7 +1759,7 @@ class BaseModel(object):
attr = node.get(translatable)
if attr:
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:
node.set(translatable, attr)