diff options
| author | Olivier Dony <odo@openerp.com> | 2013-06-06 17:10:57 +0200 |
|---|---|---|
| committer | Olivier Dony <odo@openerp.com> | 2013-06-06 17:10:57 +0200 |
| commit | ffbd3e9b6c3e94961b5f3d1c2ee4d6e4e323fbaf (patch) | |
| tree | 2b073f02cb80fa72059f1e2180499f02eaefd491 /addons | |
| parent | eba937757fca4dd095efe7db80c4b478f07c5867 (diff) | |
| parent | fe8ccdf3140a89dbcaaed1b0bd2afa26e558eb1e (diff) | |
[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
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/account/wizard/account_fiscalyear_close.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): |
