From 3d8ced3196c90840891785c6734ecf08ddd8ff89 Mon Sep 17 00:00:00 2001 From: "Ujjvala Collins (OpenERP)" Date: Tue, 23 Aug 2011 16:07:18 +0530 Subject: [PATCH] [IMP] account: Improved field description and changed view. bzr revid: uco@tinyerp.com-20110823103718-00po1r135nrkbahj --- addons/account/report/account_report_common.py | 2 +- addons/account/wizard/account_report.py | 2 +- addons/account/wizard/account_report_view.xml | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/addons/account/report/account_report_common.py b/addons/account/report/account_report_common.py index a225800c8c9..8c03ac8e13b 100644 --- a/addons/account/report/account_report_common.py +++ b/addons/account/report/account_report_common.py @@ -101,7 +101,7 @@ class report_account_common(report_sxw.rml_parse, common_report_header): if child.type == 'account_report' and child.account_report_id: for a in child.account_report_id.account_ids: balance += a.balance - #it's the sum of balance of the children of this account.report (if there isn't, then it's 0.0) + # it's the sum of balance of the children of this account.report (if there isn't, then it's 0.0) if child.type == 'sum': for child in report_obj.browse(cr, uid, child_ids, context=context): for a in child.account_ids: diff --git a/addons/account/wizard/account_report.py b/addons/account/wizard/account_report.py index d05b2acb4b8..2317b5b8aea 100644 --- a/addons/account/wizard/account_report.py +++ b/addons/account/wizard/account_report.py @@ -30,7 +30,7 @@ class accounting_report(osv.osv_memory): 'enable_filter': fields.boolean('Enable Comparison'), 'account_details': fields.boolean('Details by Account', help="Print Report with the account details."), 'account_report_id': fields.many2one('account.report', 'Account Reports', required=True), - 'label_filter': fields.char('Label', size=32, help="This label will be displayed on report to show the balance computed for the given comparison filter."), + 'label_filter': fields.char('Filters Label', size=32, help="This label will be displayed on report to show the balance computed for the given comparison filter."), } def _print_report(self, cr, uid, ids, data, context=None): data['form'].update(self.read(cr, uid, ids, ['account_report_id', 'enable_filter', 'account_details', 'label_filter'], context=context)[0]) diff --git a/addons/account/wizard/account_report_view.xml b/addons/account/wizard/account_report_view.xml index acc96822530..647ed54cf7a 100644 --- a/addons/account/wizard/account_report_view.xml +++ b/addons/account/wizard/account_report_view.xml @@ -12,15 +12,15 @@ - - + - + +