[MERGE] OPW 586535: account: properly translate the default name for opening entries

lp bug: https://launchpad.net/bugs/1165321 fixed

bzr revid: odo@openerp.com-20130606151057-u3stejvky57jfmxr
This commit is contained in:
Olivier Dony 2013-06-06 17:10:57 +02:00
commit ffbd3e9b6c
1 changed files with 1 additions and 1 deletions

View File

@ -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):