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

Proposed by Amit Dodiya (OpenERP)
Status: Merged
Approved by: Naresh(OpenERP)
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/account_fiscalyear_close.py (+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) Approve
Xavier ALT Pending
Review via email: mp+149039@code.launchpad.net

Description of the change

Hello,

[FIX] account: make the string translatable

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

Regards,
Amit

To post a comment you must log in.
Revision history for this message
Naresh(OpenERP) (nch-openerp) :
review: Approve

Preview Diff

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