Merge lp:~openerp-dev/openobject-addons/6.1-opw-581706-ado into lp:openobject-addons/6.1

Proposed by Amit Dodiya (OpenERP)
Status: Needs review
Proposed branch: lp:~openerp-dev/openobject-addons/6.1-opw-581706-ado
Merge into: lp:openobject-addons/6.1
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/6.1-opw-581706-ado
Reviewer Review Type Date Requested Status
Xavier ALT Pending
Naresh(OpenERP) Pending
Review via email: mp+135094@code.launchpad.net

Description of the change

Hello,

[FIX] account: Translation is missing of string in wizard generate opening entry

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

Regards,
Amit

To post a comment you must log in.

Unmerged revisions

7075. By Amit Dodiya<email address hidden>

[FIX] account: Translation is missing of string in wizard generate opening entry

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-02-09 17:03:33 +0000
+++ account/wizard/account_fiscalyear_close.py 2012-11-20 10:02:25 +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):