Merge lp:~openerp-dev/openobject-addons/7.0-opw-586535-ado into lp:openobject-addons/7.0

Proposed by Amit Dodiya (OpenERP) on 2013-02-18
Status: Merged
Approved by: Naresh(OpenERP) on 2013-04-04
Approved revision: no longer in the source branch.
Merged at revision: 9210
Proposed branch: lp:~openerp-dev/openobject-addons/7.0-opw-586535-ado
Merge into: lp:openobject-addons/7.0
Diff against target: 12 lines (+1/-1)
1 file modified
account/wizard/ (+1/-1)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/7.0-opw-586535-ado
Reviewer Review Type Date Requested Status
Naresh(OpenERP) (community) 2013-02-18 Approve on 2013-04-04
Xavier ALT 2013-02-18 Pending
Review via email:

Description of the change


[FIX] account: make the string translatable

1). Install account and language other than english
2). Now open "Generate Opening Entries" wizard the string of report_name fields is not translated.


To post a comment you must log in.
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'account/wizard/'
2--- account/wizard/ 2012-12-06 14:56:32 +0000
3+++ account/wizard/ 2013-02-18 12:40:41 +0000
4@@ -38,7 +38,7 @@
5 'report_name': fields.char('Name of new entries',size=64, required=True, help="Give name of the new entries"),
6 }
7 _defaults = {
8- 'report_name': _('End of Fiscal Year Entry'),
9+ 'report_name': lambda self, cr, uid, context: _('End of Fiscal Year Entry'),
10 }
12 def data_save(self, cr, uid, ids, context=None):