summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Dony <odo@openerp.com>2013-06-06 17:10:57 +0200
committerOlivier Dony <odo@openerp.com>2013-06-06 17:10:57 +0200
commitffbd3e9b6c3e94961b5f3d1c2ee4d6e4e323fbaf (patch)
tree2b073f02cb80fa72059f1e2180499f02eaefd491
parenteba937757fca4dd095efe7db80c4b478f07c5867 (diff)
parentfe8ccdf3140a89dbcaaed1b0bd2afa26e558eb1e (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
-rw-r--r--addons/account/wizard/account_fiscalyear_close.py2
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):