[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:
parent
ac77b36b4d
commit
3c930e3935
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue