From 8b37e0a7bbd57f648db1d3973aebfe9530d071f8 Mon Sep 17 00:00:00 2001 From: "kirti savalia (OpenERP)" Date: Fri, 19 Apr 2013 18:47:47 +0530 Subject: [PATCH] [IMP]:use the translte method instead of undescore sign bzr revid: ksa@tinyerp.com-20130419131747-3vwx4a9rcosryrwb --- addons/account/report/account_aged_partner_balance.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/addons/account/report/account_aged_partner_balance.py b/addons/account/report/account_aged_partner_balance.py index ddbb14a1190..6849dd7a116 100644 --- a/addons/account/report/account_aged_partner_balance.py +++ b/addons/account/report/account_aged_partner_balance.py @@ -22,7 +22,6 @@ import time from openerp.report import report_sxw from common_report_header import common_report_header -from openerp.tools.translate import _ class aged_trial_report(report_sxw.rml_parse, common_report_header): @@ -368,11 +367,11 @@ class aged_trial_report(report_sxw.rml_parse, common_report_header): def _get_partners(self,data): if data['form']['result_selection'] == 'customer': - return _('Receivable Accounts') + return self._translate('Receivable Accounts') elif data['form']['result_selection'] == 'supplier': - return _('Payable Accounts') + return self._translate('Payable Accounts') elif data['form']['result_selection'] == 'customer_supplier': - return _('Receivable and Payable Accounts') + return self._translate('Receivable and Payable Accounts') return '' report_sxw.report_sxw('report.account.aged_trial_balance', 'res.partner',