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',