[FIX] account: no need to do a call to 'translate', method '_' is sufficient.

bzr revid: olt@tinyerp.com-20091211073702-m0kc1hz64xhyzgrn
This commit is contained in:
olt@tinyerp.com 2009-12-11 08:37:02 +01:00
parent ac77b36b4d
commit 3c930e3935
1 changed files with 1 additions and 1 deletions

View File

@ -934,7 +934,7 @@ class account_move(osv.osv):
else:
context.update({'journal_id': move.journal_id.id, 'period_id': move.period_id.id})
line_id = self.pool.get('account.move.line').create(cr, uid, {
'name': _t(cr, None, 'selection', context.get('lang'), source=(mode.capitalize()+' Centralisation')) or (mode.capitalize()+' Centralisation'),
'name': _(mode.capitalize()+' Centralisation'),
'centralisation': mode,
'account_id': account_id,
'move_id': move.id,