From e1c7a55b7928c87dbb8feae95e059e94d3a77f20 Mon Sep 17 00:00:00 2001 From: Mustufa Rangwala Date: Thu, 29 Jul 2010 11:41:39 +0530 Subject: [PATCH] [REF] bzr revid: mra@mra-laptop-20100729061139-hycqkfc5x1dvefq3 --- addons/account/wizard/account_report_partner_ledger.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/addons/account/wizard/account_report_partner_ledger.py b/addons/account/wizard/account_report_partner_ledger.py index 3c9ffbf33c6..5454f54587e 100644 --- a/addons/account/wizard/account_report_partner_ledger.py +++ b/addons/account/wizard/account_report_partner_ledger.py @@ -28,6 +28,7 @@ class account_partner_ledger(osv.osv_memory): _name = 'account.partner.ledger' _inherit = 'account.common.partner.report' _description = 'Account Partner Ledger' + _columns = { 'initial_balance': fields.boolean('Include initial balances', help='It adds initial balance row on report which display previous sum amount of debit/credit/balance'), @@ -36,9 +37,9 @@ class account_partner_ledger(osv.osv_memory): 'amount_currency': fields.boolean("With Currency", help="It adds the currency column if the currency is different then the company currency"), } _defaults = { - 'reconcile' : True, - 'initial_balance' : True, - 'page_split' : False, + 'reconcile': True, + 'initial_balance': True, + 'page_split': False, } def _print_report(self, cr, uid, ids, data, query_line, context=None):