[MERGE] opw-573716 translation of avg
bzr revid: al@openerp.com-20120601155950-uh7osm0g9x3h9uf7
This commit is contained in:
@@ -1728,6 +1728,10 @@ class BaseModel(object):
|
||||
trans = self.pool.get('ir.translation')._get_source(cr, user, self._name, 'view', context['lang'], node.get('sum'))
|
||||
if trans:
|
||||
node.set('sum', trans)
|
||||
if node.get('avg'):
|
||||
trans = self.pool.get('ir.translation')._get_source(cr, user, self._name, 'view', context['lang'], node.get('avg'))
|
||||
if trans:
|
||||
node.set('avg', trans)
|
||||
if node.get('help'):
|
||||
trans = self.pool.get('ir.translation')._get_source(cr, user, self._name, 'view', context['lang'], node.get('help'))
|
||||
if trans:
|
||||
|
||||
Reference in New Issue
Block a user