From f9f35efea24ad1f7fb396807e02360e369b5010a Mon Sep 17 00:00:00 2001 From: "sbh (Open ERP)" Date: Thu, 29 Jul 2010 14:21:22 +0530 Subject: [PATCH] [IMP] account :Improve the style bzr revid: sbh@tinyerp.com-20100729085122-qgbcilx89zqa0e06 --- addons/account/report/third_party_ledger_other.rml | 13 ++++++++----- addons/account/wizard/account_report_balance_sheet.py | 2 ++ 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/addons/account/report/third_party_ledger_other.rml b/addons/account/report/third_party_ledger_other.rml index 3270ddc..78bb6fc 100644 --- a/addons/account/report/third_party_ledger_other.rml +++ b/addons/account/report/third_party_ledger_other.rml @@ -326,7 +326,10 @@ Third Party Ledger - + + + + Chart of Account @@ -356,7 +359,7 @@ [[', '.join([ lt or '' for lt in get_journal(data) ]) ]] [[ get_filter(data)=='No Filter' and get_filter(data) or removeParentNode('para') ]] - [[ get_filter(data)=='Date' or removeParentNode('blockTable') ]] + [[ get_filter(data)=='Date' or removeParentNode('blockTable') ]] Start Date @@ -374,7 +377,7 @@ - [[ get_filter(data)=='Periods' or removeParentNode('blockTable') ]] + [[ get_filter(data)=='Periods' or removeParentNode('blockTable') ]] Start Period @@ -394,10 +397,10 @@ - [[ get_partners(data) ]] + [[ get_partners(data) ]] - [[ formatLang(time.strftime('%Y-%m-%d %H:%M:%S'), date_time = True) ]] + [[ formatLang(time.strftime('%Y-%m-%d %H:%M:%S'), date_time = True) ]] diff --git a/addons/account/wizard/account_report_balance_sheet.py b/addons/account/wizard/account_report_balance_sheet.py index d6e3848..e5dbf0c 100644 --- a/addons/account/wizard/account_report_balance_sheet.py +++ b/addons/account/wizard/account_report_balance_sheet.py @@ -49,12 +49,14 @@ class account_bs_report(osv.osv_memory): 'type': 'ir.actions.report.xml', 'report_name': 'account.balancesheet.horizontal', 'datas': data, + 'nodestroy':True, } else: return { 'type': 'ir.actions.report.xml', 'report_name': 'account.balancesheet', 'datas': data, + 'nodestroy':True, } account_bs_report() -- 1.7.10.4