From fe8ccdf3140a89dbcaaed1b0bd2afa26e558eb1e Mon Sep 17 00:00:00 2001 From: Amit Dodiya Date: Mon, 18 Feb 2013 17:54:06 +0530 Subject: [PATCH] [FIX] [FIX] account: make the string translatable bzr revid: ado@tinyerp.com-20130218122406-97nnt3py85i35s9u --- addons/account/wizard/account_fiscalyear_close.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account/wizard/account_fiscalyear_close.py b/addons/account/wizard/account_fiscalyear_close.py index d4f7b3e6654..c2acfb75f22 100644 --- a/addons/account/wizard/account_fiscalyear_close.py +++ b/addons/account/wizard/account_fiscalyear_close.py @@ -38,7 +38,7 @@ class account_fiscalyear_close(osv.osv_memory): 'report_name': fields.char('Name of new entries',size=64, required=True, help="Give name of the new entries"), } _defaults = { - 'report_name': _('End of Fiscal Year Entry'), + 'report_name': lambda self, cr, uid, context: _('End of Fiscal Year Entry'), } def data_save(self, cr, uid, ids, context=None):