From 3c930e3935f1e857bcc40944aff029faeb17ae7a Mon Sep 17 00:00:00 2001 From: "olt@tinyerp.com" <> Date: Fri, 11 Dec 2009 08:37:02 +0100 Subject: [PATCH] [FIX] account: no need to do a call to 'translate', method '_' is sufficient. bzr revid: olt@tinyerp.com-20091211073702-m0kc1hz64xhyzgrn --- addons/account/account.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account/account.py b/addons/account/account.py index 9dc9e5ac2aa..0948092a0b3 100644 --- a/addons/account/account.py +++ b/addons/account/account.py @@ -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,